1 <?xml version="1.0" encoding="utf-8"?>
2 <xs:schema id=
"SIS_DBDataSet1" targetNamespace="http://tempuri.org/SIS_DBDataSet1.xsd" xmlns:mstns="http://tempuri.org/SIS_DBDataSet1.xsd" xmlns="http://tempuri.org/SIS_DBDataSet1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
3   <xs:annotation>
4     <xs:appinfo source=
"urn:schemas-microsoft-com:xml-msdatasource">
5       <DataSource DefaultConnectionIndex=
"0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
6         <Connections>
7           <Connection AppSettingsObjectName=
"MySettings" AppSettingsPropertyName="SIS_DBConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SIS_DBConnectionString1 (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Sales_and_Inventory_System.My.MySettings.GlobalReference.Default.SIS_DBConnectionString1" Provider="System.Data.SqlClient" />
8         </Connections>
9         <Tables>
10           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ActivationTableAdapter" GeneratorDataComponentClassName="ActivationTableAdapter" Name="Activation" UserDataComponentName="ActivationTableAdapter">
11             <MainSource>
12               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Activation" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
13                 <DeleteCommand>
14                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
15                     <CommandText>DELETE FROM [dbo].[Activation] WHERE (([ID] = @Original_ID) AND ([HardwareID] = @Original_HardwareID) AND ([SerialNo] = @Original_SerialNo) AND ([ActivationID] = @Original_ActivationID))</CommandText>
16                     <Parameters>
17                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
18                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_HardwareID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="HardwareID" SourceColumnNullMapping="false" SourceVersion="Original" />
19                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_SerialNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SerialNo" SourceColumnNullMapping="false" SourceVersion="Original" />
20                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ActivationID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ActivationID" SourceColumnNullMapping="false" SourceVersion="Original" />
21                     </Parameters>
22                   </DbCommand>
23                 </DeleteCommand>
24                 <InsertCommand>
25                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
26                     <CommandText>INSERT INTO [dbo].[Activation] ([HardwareID], [SerialNo], [ActivationID]) VALUES (@HardwareID, @SerialNo, @ActivationID);
27 SELECT ID, HardwareID, SerialNo, ActivationID FROM Activation WHERE (ID = SCOPE_IDENTITY())</CommandText>
28                     <Parameters>
29                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@HardwareID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="HardwareID" SourceColumnNullMapping="false" SourceVersion="Current" />
30                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@SerialNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SerialNo" SourceColumnNullMapping="false" SourceVersion="Current" />
31                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ActivationID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ActivationID" SourceColumnNullMapping="false" SourceVersion="Current" />
32                     </Parameters>
33                   </DbCommand>
34                 </InsertCommand>
35                 <SelectCommand>
36                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
37                     <CommandText>SELECT ID, HardwareID, SerialNo, ActivationID FROM dbo.Activation</CommandText>
38                     <Parameters />
39                   </DbCommand>
40                 </SelectCommand>
41                 <UpdateCommand>
42                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
43                     <CommandText>UPDATE [dbo].[Activation] SET [HardwareID] = @HardwareID, [SerialNo] = @SerialNo, [ActivationID] = @ActivationID WHERE (([ID] = @Original_ID) AND ([HardwareID] = @Original_HardwareID) AND ([SerialNo] = @Original_SerialNo) AND ([ActivationID] = @Original_ActivationID));
44 SELECT ID, HardwareID, SerialNo, ActivationID FROM Activation WHERE (ID = @ID)</CommandText>
45                     <Parameters>
46                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@HardwareID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="HardwareID" SourceColumnNullMapping="false" SourceVersion="Current" />
47                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@SerialNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SerialNo" SourceColumnNullMapping="false" SourceVersion="Current" />
48                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ActivationID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ActivationID" SourceColumnNullMapping="false" SourceVersion="Current" />
49                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
50                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_HardwareID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="HardwareID" SourceColumnNullMapping="false" SourceVersion="Original" />
51                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_SerialNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SerialNo" SourceColumnNullMapping="false" SourceVersion="Original" />
52                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ActivationID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ActivationID" SourceColumnNullMapping="false" SourceVersion="Original" />
53                       <Parameter AllowDbNull=
"false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="SIS_DB.dbo.Activation" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
54                     </Parameters>
55                   </DbCommand>
56                 </UpdateCommand>
57               </DbSource>
58             </MainSource>
59             <Mappings>
60               <Mapping SourceColumn=
"ID" DataSetColumn="ID" />
61               <Mapping SourceColumn=
"HardwareID" DataSetColumn="HardwareID" />
62               <Mapping SourceColumn=
"SerialNo" DataSetColumn="SerialNo" />
63               <Mapping SourceColumn=
"ActivationID" DataSetColumn="ActivationID" />
64             </Mappings>
65             <Sources />
66           </TableAdapter>
67           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CategoryTableAdapter" GeneratorDataComponentClassName="CategoryTableAdapter" Name="Category" UserDataComponentName="CategoryTableAdapter">
68             <MainSource>
69               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Category" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
70                 <DeleteCommand>
71                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
72                     <CommandText>DELETE FROM [dbo].[Category] WHERE (([CategoryName] = @Original_CategoryName))</CommandText>
73                     <Parameters>
74                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Original" />
75                     </Parameters>
76                   </DbCommand>
77                 </DeleteCommand>
78                 <InsertCommand>
79                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
80                     <CommandText>INSERT INTO [dbo].[Category] ([CategoryName]) VALUES (@CategoryName);
81 SELECT CategoryName FROM Category WHERE (CategoryName = @CategoryName)</CommandText>
82                     <Parameters>
83                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Current" />
84                     </Parameters>
85                   </DbCommand>
86                 </InsertCommand>
87                 <SelectCommand>
88                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
89                     <CommandText>SELECT CategoryName FROM dbo.Category</CommandText>
90                     <Parameters />
91                   </DbCommand>
92                 </SelectCommand>
93                 <UpdateCommand>
94                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
95                     <CommandText>UPDATE [dbo].[Category] SET [CategoryName] = @CategoryName WHERE (([CategoryName] = @Original_CategoryName));
96 SELECT CategoryName FROM Category WHERE (CategoryName = @CategoryName)</CommandText>
97                     <Parameters>
98                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Current" />
99                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Original" />
100                     </Parameters>
101                   </DbCommand>
102                 </UpdateCommand>
103               </DbSource>
104             </MainSource>
105             <Mappings>
106               <Mapping SourceColumn=
"CategoryName" DataSetColumn="CategoryName" />
107             </Mappings>
108             <Sources />
109           </TableAdapter>
110           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CompanyTableAdapter" GeneratorDataComponentClassName="CompanyTableAdapter" Name="Company" UserDataComponentName="CompanyTableAdapter">
111             <MainSource>
112               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Company" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
113                 <DeleteCommand>
114                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
115                     <CommandText>DELETE FROM [dbo].[Company] WHERE (([ID] = @Original_ID) AND ([CompanyName] = @Original_CompanyName) AND ([Address] = @Original_Address) AND ([ContactNo] = @Original_ContactNo) AND ([EmailID] = @Original_EmailID) AND ((@IsNull_TIN =
1 AND [TIN] IS NULL) OR ([TIN] = @Original_TIN)) AND ((@IsNull_STNo = 1 AND [STNo] IS NULL) OR ([STNo] = @Original_STNo)) AND ((@IsNull_CIN = 1 AND [CIN] IS NULL) OR ([CIN] = @Original_CIN)))</CommandText>
116                     <Parameters>
117                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
118                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CompanyName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CompanyName" SourceColumnNullMapping="false" SourceVersion="Original" />
119                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
120                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
121                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
122                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TIN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="true" SourceVersion="Original" />
123                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_TIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="false" SourceVersion="Original" />
124                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_STNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="true" SourceVersion="Original" />
125                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_STNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="false" SourceVersion="Original" />
126                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CIN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="true" SourceVersion="Original" />
127                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="false" SourceVersion="Original" />
128                     </Parameters>
129                   </DbCommand>
130                 </DeleteCommand>
131                 <InsertCommand>
132                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
133                     <CommandText>INSERT INTO [dbo].[Company] ([CompanyName], [Address], [ContactNo], [EmailID], [Logo], [TIN], [STNo], [CIN]) VALUES (@CompanyName, @Address, @ContactNo, @EmailID, @Logo, @TIN, @STNo, @CIN);
134 SELECT ID, CompanyName, Address, ContactNo, EmailID, Logo, TIN, STNo, CIN FROM Company WHERE (ID = SCOPE_IDENTITY())</CommandText>
135                     <Parameters>
136                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CompanyName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CompanyName" SourceColumnNullMapping="false" SourceVersion="Current" />
137                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
138                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
139                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
140                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Logo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Logo" SourceColumnNullMapping="false" SourceVersion="Current" />
141                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@TIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="false" SourceVersion="Current" />
142                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@STNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="false" SourceVersion="Current" />
143                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="false" SourceVersion="Current" />
144                     </Parameters>
145                   </DbCommand>
146                 </InsertCommand>
147                 <SelectCommand>
148                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
149                     <CommandText>SELECT ID, CompanyName, Address, ContactNo, EmailID, Logo, TIN, STNo, CIN FROM dbo.Company</CommandText>
150                     <Parameters />
151                   </DbCommand>
152                 </SelectCommand>
153                 <UpdateCommand>
154                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
155                     <CommandText>UPDATE [dbo].[Company] SET [CompanyName] = @CompanyName, [Address] = @Address, [ContactNo] = @ContactNo, [EmailID] = @EmailID, [Logo] = @Logo, [TIN] = @TIN, [STNo] = @STNo, [CIN] = @CIN WHERE (([ID] = @Original_ID) AND ([CompanyName] = @Original_CompanyName) AND ([Address] = @Original_Address) AND ([ContactNo] = @Original_ContactNo) AND ([EmailID] = @Original_EmailID) AND ((@IsNull_TIN =
1 AND [TIN] IS NULL) OR ([TIN] = @Original_TIN)) AND ((@IsNull_STNo = 1 AND [STNo] IS NULL) OR ([STNo] = @Original_STNo)) AND ((@IsNull_CIN = 1 AND [CIN] IS NULL) OR ([CIN] = @Original_CIN)));
156 SELECT ID, CompanyName, Address, ContactNo, EmailID, Logo, TIN, STNo, CIN FROM Company WHERE (ID = @ID)</CommandText>
157                     <Parameters>
158                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CompanyName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CompanyName" SourceColumnNullMapping="false" SourceVersion="Current" />
159                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
160                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
161                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
162                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Logo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Logo" SourceColumnNullMapping="false" SourceVersion="Current" />
163                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@TIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="false" SourceVersion="Current" />
164                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@STNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="false" SourceVersion="Current" />
165                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="false" SourceVersion="Current" />
166                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
167                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CompanyName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CompanyName" SourceColumnNullMapping="false" SourceVersion="Original" />
168                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
169                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
170                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
171                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TIN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="true" SourceVersion="Original" />
172                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_TIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="false" SourceVersion="Original" />
173                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_STNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="true" SourceVersion="Original" />
174                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_STNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="false" SourceVersion="Original" />
175                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CIN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="true" SourceVersion="Original" />
176                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="false" SourceVersion="Original" />
177                       <Parameter AllowDbNull=
"false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="SIS_DB.dbo.Company" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
178                     </Parameters>
179                   </DbCommand>
180                 </UpdateCommand>
181               </DbSource>
182             </MainSource>
183             <Mappings>
184               <Mapping SourceColumn=
"ID" DataSetColumn="ID" />
185               <Mapping SourceColumn=
"CompanyName" DataSetColumn="CompanyName" />
186               <Mapping SourceColumn=
"Address" DataSetColumn="Address" />
187               <Mapping SourceColumn=
"ContactNo" DataSetColumn="ContactNo" />
188               <Mapping SourceColumn=
"EmailID" DataSetColumn="EmailID" />
189               <Mapping SourceColumn=
"Logo" DataSetColumn="Logo" />
190               <Mapping SourceColumn=
"TIN" DataSetColumn="TIN" />
191               <Mapping SourceColumn=
"STNo" DataSetColumn="STNo" />
192               <Mapping SourceColumn=
"CIN" DataSetColumn="CIN" />
193             </Mappings>
194             <Sources />
195           </TableAdapter>
196           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Company_ContactsTableAdapter" GeneratorDataComponentClassName="Company_ContactsTableAdapter" Name="Company_Contacts" UserDataComponentName="Company_ContactsTableAdapter">
197             <MainSource>
198               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Company_Contacts" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
199                 <DeleteCommand>
200                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
201                     <CommandText>DELETE FROM [dbo].[Company_Contacts] WHERE (([Id] = @Original_Id) AND ([ContactPerson] = @Original_ContactPerson) AND ([ContactNo] = @Original_ContactNo))</CommandText>
202                     <Parameters>
203                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
204                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactPerson" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactPerson" SourceColumnNullMapping="false" SourceVersion="Original" />
205                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
206                     </Parameters>
207                   </DbCommand>
208                 </DeleteCommand>
209                 <InsertCommand>
210                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
211                     <CommandText>INSERT INTO [dbo].[Company_Contacts] ([ContactPerson], [ContactNo]) VALUES (@ContactPerson, @ContactNo);
212 SELECT Id, ContactPerson, ContactNo FROM Company_Contacts WHERE (Id = SCOPE_IDENTITY())</CommandText>
213                     <Parameters>
214                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactPerson" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactPerson" SourceColumnNullMapping="false" SourceVersion="Current" />
215                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
216                     </Parameters>
217                   </DbCommand>
218                 </InsertCommand>
219                 <SelectCommand>
220                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
221                     <CommandText>SELECT Id, ContactPerson, ContactNo FROM dbo.Company_Contacts</CommandText>
222                     <Parameters />
223                   </DbCommand>
224                 </SelectCommand>
225                 <UpdateCommand>
226                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
227                     <CommandText>UPDATE [dbo].[Company_Contacts] SET [ContactPerson] = @ContactPerson, [ContactNo] = @ContactNo WHERE (([Id] = @Original_Id) AND ([ContactPerson] = @Original_ContactPerson) AND ([ContactNo] = @Original_ContactNo));
228 SELECT Id, ContactPerson, ContactNo FROM Company_Contacts WHERE (Id = @Id)</CommandText>
229                     <Parameters>
230                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactPerson" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactPerson" SourceColumnNullMapping="false" SourceVersion="Current" />
231                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
232                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
233                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactPerson" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactPerson" SourceColumnNullMapping="false" SourceVersion="Original" />
234                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
235                       <Parameter AllowDbNull=
"false" AutogeneratedName="Id" ColumnName="Id" DataSourceName="SIS_DB.dbo.Company_Contacts" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Current" />
236                     </Parameters>
237                   </DbCommand>
238                 </UpdateCommand>
239               </DbSource>
240             </MainSource>
241             <Mappings>
242               <Mapping SourceColumn=
"Id" DataSetColumn="Id" />
243               <Mapping SourceColumn=
"ContactPerson" DataSetColumn="ContactPerson" />
244               <Mapping SourceColumn=
"ContactNo" DataSetColumn="ContactNo" />
245             </Mappings>
246             <Sources />
247           </TableAdapter>
248           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustomerTableAdapter" GeneratorDataComponentClassName="CustomerTableAdapter" Name="Customer" UserDataComponentName="CustomerTableAdapter">
249             <MainSource>
250               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Customer" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
251                 <DeleteCommand>
252                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
253                     <CommandText>DELETE FROM [dbo].[Customer] WHERE (([ID] = @Original_ID) AND ([CustomerID] = @Original_CustomerID) AND ([Name] = @Original_Name) AND ([Gender] = @Original_Gender) AND ([Address] = @Original_Address) AND ([City] = @Original_City) AND ([State] = @Original_State) AND ((@IsNull_ZipCode =
1 AND [ZipCode] IS NULL) OR ([ZipCode] = @Original_ZipCode)) AND ([ContactNo] = @Original_ContactNo) AND ((@IsNull_EmailID = 1 AND [EmailID] IS NULL) OR ([EmailID] = @Original_EmailID)))</CommandText>
254                     <Parameters>
255                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
256                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
257                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
258                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
259                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
260                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
261                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Original" />
262                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ZipCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="true" SourceVersion="Original" />
263                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Original" />
264                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
265                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
266                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
267                     </Parameters>
268                   </DbCommand>
269                 </DeleteCommand>
270                 <InsertCommand>
271                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
272                     <CommandText>INSERT INTO [dbo].[Customer] ([ID], [CustomerID], [Name], [Gender], [Address], [City], [State], [ZipCode], [ContactNo], [EmailID], [Remarks], [Photo]) VALUES (@ID, @CustomerID, @Name, @Gender, @Address, @City, @State, @ZipCode, @ContactNo, @EmailID, @Remarks, @Photo);
273 SELECT ID, CustomerID, Name, Gender, Address, City, State, ZipCode, ContactNo, EmailID, Remarks, Photo FROM Customer WHERE (ID = @ID)</CommandText>
274                     <Parameters>
275                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
276                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
277                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
278                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
279                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
280                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
281                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
282                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Current" />
283                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
284                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
285                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
286                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
287                     </Parameters>
288                   </DbCommand>
289                 </InsertCommand>
290                 <SelectCommand>
291                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
292                     <CommandText>SELECT ID, CustomerID, Name, Gender, Address, City, State, ZipCode, ContactNo, EmailID, Remarks, Photo FROM dbo.Customer</CommandText>
293                     <Parameters />
294                   </DbCommand>
295                 </SelectCommand>
296                 <UpdateCommand>
297                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
298                     <CommandText>UPDATE [dbo].[Customer] SET [ID] = @ID, [CustomerID] = @CustomerID, [Name] = @Name, [Gender] = @Gender, [Address] = @Address, [City] = @City, [State] = @State, [ZipCode] = @ZipCode, [ContactNo] = @ContactNo, [EmailID] = @EmailID, [Remarks] = @Remarks, [Photo] = @Photo WHERE (([ID] = @Original_ID) AND ([CustomerID] = @Original_CustomerID) AND ([Name] = @Original_Name) AND ([Gender] = @Original_Gender) AND ([Address] = @Original_Address) AND ([City] = @Original_City) AND ([State] = @Original_State) AND ((@IsNull_ZipCode =
1 AND [ZipCode] IS NULL) OR ([ZipCode] = @Original_ZipCode)) AND ([ContactNo] = @Original_ContactNo) AND ((@IsNull_EmailID = 1 AND [EmailID] IS NULL) OR ([EmailID] = @Original_EmailID)));
299 SELECT ID, CustomerID, Name, Gender, Address, City, State, ZipCode, ContactNo, EmailID, Remarks, Photo FROM Customer WHERE (ID = @ID)</CommandText>
300                     <Parameters>
301                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
302                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
303                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
304                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
305                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
306                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
307                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
308                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Current" />
309                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
310                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
311                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
312                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
313                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
314                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
315                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
316                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
317                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
318                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
319                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Original" />
320                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ZipCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="true" SourceVersion="Original" />
321                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Original" />
322                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
323                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
324                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
325                     </Parameters>
326                   </DbCommand>
327                 </UpdateCommand>
328               </DbSource>
329             </MainSource>
330             <Mappings>
331               <Mapping SourceColumn=
"ID" DataSetColumn="ID" />
332               <Mapping SourceColumn=
"CustomerID" DataSetColumn="CustomerID" />
333               <Mapping SourceColumn=
"Name" DataSetColumn="Name" />
334               <Mapping SourceColumn=
"Gender" DataSetColumn="Gender" />
335               <Mapping SourceColumn=
"Address" DataSetColumn="Address" />
336               <Mapping SourceColumn=
"City" DataSetColumn="City" />
337               <Mapping SourceColumn=
"State" DataSetColumn="State" />
338               <Mapping SourceColumn=
"ZipCode" DataSetColumn="ZipCode" />
339               <Mapping SourceColumn=
"ContactNo" DataSetColumn="ContactNo" />
340               <Mapping SourceColumn=
"EmailID" DataSetColumn="EmailID" />
341               <Mapping SourceColumn=
"Remarks" DataSetColumn="Remarks" />
342               <Mapping SourceColumn=
"Photo" DataSetColumn="Photo" />
343             </Mappings>
344             <Sources />
345           </TableAdapter>
346           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Invoice_PaymentTableAdapter" GeneratorDataComponentClassName="Invoice_PaymentTableAdapter" Name="Invoice_Payment" UserDataComponentName="Invoice_PaymentTableAdapter">
347             <MainSource>
348               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Invoice_Payment" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
349                 <DeleteCommand>
350                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
351                     <CommandText>DELETE FROM [dbo].[Invoice_Payment] WHERE (([IP_ID] = @Original_IP_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([PaymentDate] = @Original_PaymentDate) AND ([TotalPaid] = @Original_TotalPaid) AND ([PaymentMode] = @Original_PaymentMode))</CommandText>
352                     <Parameters>
353                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IP_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IP_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
354                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
355                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Original" />
356                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
357                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Original" />
358                     </Parameters>
359                   </DbCommand>
360                 </DeleteCommand>
361                 <InsertCommand>
362                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
363                     <CommandText>INSERT INTO [dbo].[Invoice_Payment] ([InvoiceID], [PaymentDate], [TotalPaid], [PaymentMode]) VALUES (@InvoiceID, @PaymentDate, @TotalPaid, @PaymentMode);
364 SELECT IP_ID, InvoiceID, PaymentDate, TotalPaid, PaymentMode FROM Invoice_Payment WHERE (IP_ID = SCOPE_IDENTITY())</CommandText>
365                     <Parameters>
366                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
367                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Current" />
368                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
369                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Current" />
370                     </Parameters>
371                   </DbCommand>
372                 </InsertCommand>
373                 <SelectCommand>
374                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
375                     <CommandText>SELECT IP_ID, InvoiceID, PaymentDate, TotalPaid, PaymentMode FROM dbo.Invoice_Payment</CommandText>
376                     <Parameters />
377                   </DbCommand>
378                 </SelectCommand>
379                 <UpdateCommand>
380                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
381                     <CommandText>UPDATE [dbo].[Invoice_Payment] SET [InvoiceID] = @InvoiceID, [PaymentDate] = @PaymentDate, [TotalPaid] = @TotalPaid, [PaymentMode] = @PaymentMode WHERE (([IP_ID] = @Original_IP_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([PaymentDate] = @Original_PaymentDate) AND ([TotalPaid] = @Original_TotalPaid) AND ([PaymentMode] = @Original_PaymentMode));
382 SELECT IP_ID, InvoiceID, PaymentDate, TotalPaid, PaymentMode FROM Invoice_Payment WHERE (IP_ID = @IP_ID)</CommandText>
383                     <Parameters>
384                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
385                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Current" />
386                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
387                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Current" />
388                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IP_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IP_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
389                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
390                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Original" />
391                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
392                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Original" />
393                       <Parameter AllowDbNull=
"false" AutogeneratedName="IP_ID" ColumnName="IP_ID" DataSourceName="SIS_DB.dbo.Invoice_Payment" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IP_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IP_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
394                     </Parameters>
395                   </DbCommand>
396                 </UpdateCommand>
397               </DbSource>
398             </MainSource>
399             <Mappings>
400               <Mapping SourceColumn=
"IP_ID" DataSetColumn="IP_ID" />
401               <Mapping SourceColumn=
"InvoiceID" DataSetColumn="InvoiceID" />
402               <Mapping SourceColumn=
"PaymentDate" DataSetColumn="PaymentDate" />
403               <Mapping SourceColumn=
"TotalPaid" DataSetColumn="TotalPaid" />
404               <Mapping SourceColumn=
"PaymentMode" DataSetColumn="PaymentMode" />
405             </Mappings>
406             <Sources />
407           </TableAdapter>
408           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Invoice_ProductTableAdapter" GeneratorDataComponentClassName="Invoice_ProductTableAdapter" Name="Invoice_Product" UserDataComponentName="Invoice_ProductTableAdapter">
409             <MainSource>
410               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Invoice_Product" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
411                 <DeleteCommand>
412                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
413                     <CommandText>DELETE FROM [dbo].[Invoice_Product] WHERE (([IPo_ID] = @Original_IPo_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([ProductID] = @Original_ProductID) AND ([CostPrice] = @Original_CostPrice) AND ([SellingPrice] = @Original_SellingPrice) AND ([Margin] = @Original_Margin) AND ([Qty] = @Original_Qty) AND ([Amount] = @Original_Amount) AND ([DiscountPer] = @Original_DiscountPer) AND ([Discount] = @Original_Discount) AND ([VATPer] = @Original_VATPer) AND ([VAT] = @Original_VAT) AND ([TotalAmount] = @Original_TotalAmount))</CommandText>
414                     <Parameters>
415                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IPo_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IPo_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
416                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
417                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
418                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
419                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
420                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Original" />
421                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
422                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
423                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Original" />
424                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
425                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
426                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
427                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
428                     </Parameters>
429                   </DbCommand>
430                 </DeleteCommand>
431                 <InsertCommand>
432                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
433                     <CommandText>INSERT INTO [dbo].[Invoice_Product] ([InvoiceID], [ProductID], [CostPrice], [SellingPrice], [Margin], [Qty], [Amount], [DiscountPer], [Discount], [VATPer], [VAT], [TotalAmount]) VALUES (@InvoiceID, @ProductID, @CostPrice, @SellingPrice, @Margin, @Qty, @Amount, @DiscountPer, @Discount, @VATPer, @VAT, @TotalAmount);
434 SELECT IPo_ID, InvoiceID, ProductID, CostPrice, SellingPrice, Margin, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM Invoice_Product WHERE (IPo_ID = SCOPE_IDENTITY())</CommandText>
435                     <Parameters>
436                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
437                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
438                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
439                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
440                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Current" />
441                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
442                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
443                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Current" />
444                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
445                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
446                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
447                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
448                     </Parameters>
449                   </DbCommand>
450                 </InsertCommand>
451                 <SelectCommand>
452                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
453                     <CommandText>SELECT IPo_ID, InvoiceID, ProductID, CostPrice, SellingPrice, Margin, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM dbo.Invoice_Product</CommandText>
454                     <Parameters />
455                   </DbCommand>
456                 </SelectCommand>
457                 <UpdateCommand>
458                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
459                     <CommandText>UPDATE [dbo].[Invoice_Product] SET [InvoiceID] = @InvoiceID, [ProductID] = @ProductID, [CostPrice] = @CostPrice, [SellingPrice] = @SellingPrice, [Margin] = @Margin, [Qty] = @Qty, [Amount] = @Amount, [DiscountPer] = @DiscountPer, [Discount] = @Discount, [VATPer] = @VATPer, [VAT] = @VAT, [TotalAmount] = @TotalAmount WHERE (([IPo_ID] = @Original_IPo_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([ProductID] = @Original_ProductID) AND ([CostPrice] = @Original_CostPrice) AND ([SellingPrice] = @Original_SellingPrice) AND ([Margin] = @Original_Margin) AND ([Qty] = @Original_Qty) AND ([Amount] = @Original_Amount) AND ([DiscountPer] = @Original_DiscountPer) AND ([Discount] = @Original_Discount) AND ([VATPer] = @Original_VATPer) AND ([VAT] = @Original_VAT) AND ([TotalAmount] = @Original_TotalAmount));
460 SELECT IPo_ID, InvoiceID, ProductID, CostPrice, SellingPrice, Margin, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM Invoice_Product WHERE (IPo_ID = @IPo_ID)</CommandText>
461                     <Parameters>
462                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
463                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
464                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
465                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
466                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Current" />
467                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
468                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
469                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Current" />
470                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
471                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
472                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
473                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
474                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IPo_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IPo_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
475                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
476                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
477                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
478                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
479                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Original" />
480                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
481                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
482                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Original" />
483                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
484                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
485                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
486                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
487                       <Parameter AllowDbNull=
"false" AutogeneratedName="IPo_ID" ColumnName="IPo_ID" DataSourceName="SIS_DB.dbo.Invoice_Product" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IPo_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IPo_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
488                     </Parameters>
489                   </DbCommand>
490                 </UpdateCommand>
491               </DbSource>
492             </MainSource>
493             <Mappings>
494               <Mapping SourceColumn=
"IPo_ID" DataSetColumn="IPo_ID" />
495               <Mapping SourceColumn=
"InvoiceID" DataSetColumn="InvoiceID" />
496               <Mapping SourceColumn=
"ProductID" DataSetColumn="ProductID" />
497               <Mapping SourceColumn=
"CostPrice" DataSetColumn="CostPrice" />
498               <Mapping SourceColumn=
"SellingPrice" DataSetColumn="SellingPrice" />
499               <Mapping SourceColumn=
"Margin" DataSetColumn="Margin" />
500               <Mapping SourceColumn=
"Qty" DataSetColumn="Qty" />
501               <Mapping SourceColumn=
"Amount" DataSetColumn="Amount" />
502               <Mapping SourceColumn=
"DiscountPer" DataSetColumn="DiscountPer" />
503               <Mapping SourceColumn=
"Discount" DataSetColumn="Discount" />
504               <Mapping SourceColumn=
"VATPer" DataSetColumn="VATPer" />
505               <Mapping SourceColumn=
"VAT" DataSetColumn="VAT" />
506               <Mapping SourceColumn=
"TotalAmount" DataSetColumn="TotalAmount" />
507             </Mappings>
508             <Sources />
509           </TableAdapter>
510           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Invoice1_PaymentTableAdapter" GeneratorDataComponentClassName="Invoice1_PaymentTableAdapter" Name="Invoice1_Payment" UserDataComponentName="Invoice1_PaymentTableAdapter">
511             <MainSource>
512               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Invoice1_Payment" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
513                 <DeleteCommand>
514                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
515                     <CommandText>DELETE FROM [dbo].[Invoice1_Payment] WHERE (([IP_ID] = @Original_IP_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([PaymentDate] = @Original_PaymentDate) AND ([TotalPaid] = @Original_TotalPaid) AND ([PaymentMode] = @Original_PaymentMode))</CommandText>
516                     <Parameters>
517                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IP_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IP_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
518                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
519                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Original" />
520                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
521                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Original" />
522                     </Parameters>
523                   </DbCommand>
524                 </DeleteCommand>
525                 <InsertCommand>
526                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
527                     <CommandText>INSERT INTO [dbo].[Invoice1_Payment] ([InvoiceID], [PaymentDate], [TotalPaid], [PaymentMode]) VALUES (@InvoiceID, @PaymentDate, @TotalPaid, @PaymentMode);
528 SELECT IP_ID, InvoiceID, PaymentDate, TotalPaid, PaymentMode FROM Invoice1_Payment WHERE (IP_ID = SCOPE_IDENTITY())</CommandText>
529                     <Parameters>
530                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
531                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Current" />
532                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
533                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Current" />
534                     </Parameters>
535                   </DbCommand>
536                 </InsertCommand>
537                 <SelectCommand>
538                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
539                     <CommandText>SELECT IP_ID, InvoiceID, PaymentDate, TotalPaid, PaymentMode FROM dbo.Invoice1_Payment</CommandText>
540                     <Parameters />
541                   </DbCommand>
542                 </SelectCommand>
543                 <UpdateCommand>
544                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
545                     <CommandText>UPDATE [dbo].[Invoice1_Payment] SET [InvoiceID] = @InvoiceID, [PaymentDate] = @PaymentDate, [TotalPaid] = @TotalPaid, [PaymentMode] = @PaymentMode WHERE (([IP_ID] = @Original_IP_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([PaymentDate] = @Original_PaymentDate) AND ([TotalPaid] = @Original_TotalPaid) AND ([PaymentMode] = @Original_PaymentMode));
546 SELECT IP_ID, InvoiceID, PaymentDate, TotalPaid, PaymentMode FROM Invoice1_Payment WHERE (IP_ID = @IP_ID)</CommandText>
547                     <Parameters>
548                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
549                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Current" />
550                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
551                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Current" />
552                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IP_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IP_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
553                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
554                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Original" />
555                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
556                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Original" />
557                       <Parameter AllowDbNull=
"false" AutogeneratedName="IP_ID" ColumnName="IP_ID" DataSourceName="SIS_DB.dbo.Invoice1_Payment" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IP_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IP_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
558                     </Parameters>
559                   </DbCommand>
560                 </UpdateCommand>
561               </DbSource>
562             </MainSource>
563             <Mappings>
564               <Mapping SourceColumn=
"IP_ID" DataSetColumn="IP_ID" />
565               <Mapping SourceColumn=
"InvoiceID" DataSetColumn="InvoiceID" />
566               <Mapping SourceColumn=
"PaymentDate" DataSetColumn="PaymentDate" />
567               <Mapping SourceColumn=
"TotalPaid" DataSetColumn="TotalPaid" />
568               <Mapping SourceColumn=
"PaymentMode" DataSetColumn="PaymentMode" />
569             </Mappings>
570             <Sources />
571           </TableAdapter>
572           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Invoice1_ProductTableAdapter" GeneratorDataComponentClassName="Invoice1_ProductTableAdapter" Name="Invoice1_Product" UserDataComponentName="Invoice1_ProductTableAdapter">
573             <MainSource>
574               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Invoice1_Product" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
575                 <DeleteCommand>
576                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
577                     <CommandText>DELETE FROM [dbo].[Invoice1_Product] WHERE (([Ipo_ID] = @Original_Ipo_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([ProductID] = @Original_ProductID) AND ([CostPrice] = @Original_CostPrice) AND ([SellingPrice] = @Original_SellingPrice) AND ([Margin] = @Original_Margin) AND ([Qty] = @Original_Qty) AND ([Amount] = @Original_Amount) AND ([DiscountPer] = @Original_DiscountPer) AND ([Discount] = @Original_Discount) AND ([VATPer] = @Original_VATPer) AND ([VAT] = @Original_VAT) AND ([TotalAmount] = @Original_TotalAmount))</CommandText>
578                     <Parameters>
579                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Ipo_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ipo_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
580                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
581                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
582                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
583                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
584                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Original" />
585                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
586                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
587                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Original" />
588                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
589                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
590                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
591                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
592                     </Parameters>
593                   </DbCommand>
594                 </DeleteCommand>
595                 <InsertCommand>
596                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
597                     <CommandText>INSERT INTO [dbo].[Invoice1_Product] ([InvoiceID], [ProductID], [CostPrice], [SellingPrice], [Margin], [Qty], [Amount], [DiscountPer], [Discount], [VATPer], [VAT], [TotalAmount]) VALUES (@InvoiceID, @ProductID, @CostPrice, @SellingPrice, @Margin, @Qty, @Amount, @DiscountPer, @Discount, @VATPer, @VAT, @TotalAmount);
598 SELECT Ipo_ID, InvoiceID, ProductID, CostPrice, SellingPrice, Margin, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM Invoice1_Product WHERE (Ipo_ID = SCOPE_IDENTITY())</CommandText>
599                     <Parameters>
600                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
601                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
602                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
603                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
604                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Current" />
605                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
606                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
607                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Current" />
608                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
609                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
610                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
611                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
612                     </Parameters>
613                   </DbCommand>
614                 </InsertCommand>
615                 <SelectCommand>
616                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
617                     <CommandText>SELECT Ipo_ID, InvoiceID, ProductID, CostPrice, SellingPrice, Margin, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM dbo.Invoice1_Product</CommandText>
618                     <Parameters />
619                   </DbCommand>
620                 </SelectCommand>
621                 <UpdateCommand>
622                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
623                     <CommandText>UPDATE [dbo].[Invoice1_Product] SET [InvoiceID] = @InvoiceID, [ProductID] = @ProductID, [CostPrice] = @CostPrice, [SellingPrice] = @SellingPrice, [Margin] = @Margin, [Qty] = @Qty, [Amount] = @Amount, [DiscountPer] = @DiscountPer, [Discount] = @Discount, [VATPer] = @VATPer, [VAT] = @VAT, [TotalAmount] = @TotalAmount WHERE (([Ipo_ID] = @Original_Ipo_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([ProductID] = @Original_ProductID) AND ([CostPrice] = @Original_CostPrice) AND ([SellingPrice] = @Original_SellingPrice) AND ([Margin] = @Original_Margin) AND ([Qty] = @Original_Qty) AND ([Amount] = @Original_Amount) AND ([DiscountPer] = @Original_DiscountPer) AND ([Discount] = @Original_Discount) AND ([VATPer] = @Original_VATPer) AND ([VAT] = @Original_VAT) AND ([TotalAmount] = @Original_TotalAmount));
624 SELECT Ipo_ID, InvoiceID, ProductID, CostPrice, SellingPrice, Margin, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM Invoice1_Product WHERE (Ipo_ID = @Ipo_ID)</CommandText>
625                     <Parameters>
626                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
627                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
628                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
629                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
630                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Current" />
631                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
632                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
633                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Current" />
634                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
635                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
636                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
637                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
638                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Ipo_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ipo_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
639                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
640                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
641                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
642                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
643                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Original" />
644                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
645                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
646                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Original" />
647                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
648                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
649                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
650                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
651                       <Parameter AllowDbNull=
"false" AutogeneratedName="Ipo_ID" ColumnName="Ipo_ID" DataSourceName="SIS_DB.dbo.Invoice1_Product" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Ipo_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Ipo_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
652                     </Parameters>
653                   </DbCommand>
654                 </UpdateCommand>
655               </DbSource>
656             </MainSource>
657             <Mappings>
658               <Mapping SourceColumn=
"Ipo_ID" DataSetColumn="Ipo_ID" />
659               <Mapping SourceColumn=
"InvoiceID" DataSetColumn="InvoiceID" />
660               <Mapping SourceColumn=
"ProductID" DataSetColumn="ProductID" />
661               <Mapping SourceColumn=
"CostPrice" DataSetColumn="CostPrice" />
662               <Mapping SourceColumn=
"SellingPrice" DataSetColumn="SellingPrice" />
663               <Mapping SourceColumn=
"Margin" DataSetColumn="Margin" />
664               <Mapping SourceColumn=
"Qty" DataSetColumn="Qty" />
665               <Mapping SourceColumn=
"Amount" DataSetColumn="Amount" />
666               <Mapping SourceColumn=
"DiscountPer" DataSetColumn="DiscountPer" />
667               <Mapping SourceColumn=
"Discount" DataSetColumn="Discount" />
668               <Mapping SourceColumn=
"VATPer" DataSetColumn="VATPer" />
669               <Mapping SourceColumn=
"VAT" DataSetColumn="VAT" />
670               <Mapping SourceColumn=
"TotalAmount" DataSetColumn="TotalAmount" />
671             </Mappings>
672             <Sources />
673           </TableAdapter>
674           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="InvoiceInfoTableAdapter" GeneratorDataComponentClassName="InvoiceInfoTableAdapter" Name="InvoiceInfo" UserDataComponentName="InvoiceInfoTableAdapter">
675             <MainSource>
676               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.InvoiceInfo" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
677                 <DeleteCommand>
678                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
679                     <CommandText>DELETE FROM [dbo].[InvoiceInfo] WHERE (([Inv_ID] = @Original_Inv_ID) AND ([InvoiceNo] = @Original_InvoiceNo) AND ([InvoiceDate] = @Original_InvoiceDate) AND ([CustomerID] = @Original_CustomerID) AND ([GrandTotal] = @Original_GrandTotal) AND ([TotalPaid] = @Original_TotalPaid) AND ([Balance] = @Original_Balance))</CommandText>
680                     <Parameters>
681                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
682                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Original" />
683                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Original" />
684                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
685                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
686                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
687                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Original" />
688                     </Parameters>
689                   </DbCommand>
690                 </DeleteCommand>
691                 <InsertCommand>
692                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
693                     <CommandText>INSERT INTO [dbo].[InvoiceInfo] ([Inv_ID], [InvoiceNo], [InvoiceDate], [CustomerID], [GrandTotal], [TotalPaid], [Balance], [Remarks]) VALUES (@Inv_ID, @InvoiceNo, @InvoiceDate, @CustomerID, @GrandTotal, @TotalPaid, @Balance, @Remarks);
694 SELECT Inv_ID, InvoiceNo, InvoiceDate, CustomerID, GrandTotal, TotalPaid, Balance, Remarks FROM InvoiceInfo WHERE (Inv_ID = @Inv_ID)</CommandText>
695                     <Parameters>
696                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
697                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Current" />
698                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Current" />
699                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
700                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
701                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
702                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
703                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
704                     </Parameters>
705                   </DbCommand>
706                 </InsertCommand>
707                 <SelectCommand>
708                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
709                     <CommandText>SELECT Inv_ID, InvoiceNo, InvoiceDate, CustomerID, GrandTotal, TotalPaid, Balance, Remarks FROM dbo.InvoiceInfo</CommandText>
710                     <Parameters />
711                   </DbCommand>
712                 </SelectCommand>
713                 <UpdateCommand>
714                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
715                     <CommandText>UPDATE [dbo].[InvoiceInfo] SET [Inv_ID] = @Inv_ID, [InvoiceNo] = @InvoiceNo, [InvoiceDate] = @InvoiceDate, [CustomerID] = @CustomerID, [GrandTotal] = @GrandTotal, [TotalPaid] = @TotalPaid, [Balance] = @Balance, [Remarks] = @Remarks WHERE (([Inv_ID] = @Original_Inv_ID) AND ([InvoiceNo] = @Original_InvoiceNo) AND ([InvoiceDate] = @Original_InvoiceDate) AND ([CustomerID] = @Original_CustomerID) AND ([GrandTotal] = @Original_GrandTotal) AND ([TotalPaid] = @Original_TotalPaid) AND ([Balance] = @Original_Balance));
716 SELECT Inv_ID, InvoiceNo, InvoiceDate, CustomerID, GrandTotal, TotalPaid, Balance, Remarks FROM InvoiceInfo WHERE (Inv_ID = @Inv_ID)</CommandText>
717                     <Parameters>
718                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
719                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Current" />
720                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Current" />
721                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
722                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
723                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
724                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
725                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
726                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
727                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Original" />
728                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Original" />
729                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
730                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
731                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
732                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Original" />
733                     </Parameters>
734                   </DbCommand>
735                 </UpdateCommand>
736               </DbSource>
737             </MainSource>
738             <Mappings>
739               <Mapping SourceColumn=
"Inv_ID" DataSetColumn="Inv_ID" />
740               <Mapping SourceColumn=
"InvoiceNo" DataSetColumn="InvoiceNo" />
741               <Mapping SourceColumn=
"InvoiceDate" DataSetColumn="InvoiceDate" />
742               <Mapping SourceColumn=
"CustomerID" DataSetColumn="CustomerID" />
743               <Mapping SourceColumn=
"GrandTotal" DataSetColumn="GrandTotal" />
744               <Mapping SourceColumn=
"TotalPaid" DataSetColumn="TotalPaid" />
745               <Mapping SourceColumn=
"Balance" DataSetColumn="Balance" />
746               <Mapping SourceColumn=
"Remarks" DataSetColumn="Remarks" />
747             </Mappings>
748             <Sources />
749           </TableAdapter>
750           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="InvoiceInfo1TableAdapter" GeneratorDataComponentClassName="InvoiceInfo1TableAdapter" Name="InvoiceInfo1" UserDataComponentName="InvoiceInfo1TableAdapter">
751             <MainSource>
752               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.InvoiceInfo1" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
753                 <DeleteCommand>
754                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
755                     <CommandText>DELETE FROM [dbo].[InvoiceInfo1] WHERE (([Inv_ID] = @Original_Inv_ID) AND ([InvoiceNo] = @Original_InvoiceNo) AND ([InvoiceDate] = @Original_InvoiceDate) AND ([ServiceID] = @Original_ServiceID) AND ([RepairCharges] = @Original_RepairCharges) AND ([Upfront] = @Original_Upfront) AND ([ProductCharges] = @Original_ProductCharges) AND ([ServiceTaxPer] = @Original_ServiceTaxPer) AND ([ServiceTax] = @Original_ServiceTax) AND ([GrandTotal] = @Original_GrandTotal) AND ([TotalPaid] = @Original_TotalPaid) AND ([Balance] = @Original_Balance))</CommandText>
756                     <Parameters>
757                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
758                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Original" />
759                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Original" />
760                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ServiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ServiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
761                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_RepairCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="RepairCharges" SourceColumnNullMapping="false" SourceVersion="Original" />
762                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Upfront" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Upfront" SourceColumnNullMapping="false" SourceVersion="Original" />
763                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ProductCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ProductCharges" SourceColumnNullMapping="false" SourceVersion="Original" />
764                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ServiceTaxPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTaxPer" SourceColumnNullMapping="false" SourceVersion="Original" />
765                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ServiceTax" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTax" SourceColumnNullMapping="false" SourceVersion="Original" />
766                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
767                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
768                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Original" />
769                     </Parameters>
770                   </DbCommand>
771                 </DeleteCommand>
772                 <InsertCommand>
773                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
774                     <CommandText>INSERT INTO [dbo].[InvoiceInfo1] ([Inv_ID], [InvoiceNo], [InvoiceDate], [ServiceID], [RepairCharges], [Upfront], [ProductCharges], [ServiceTaxPer], [ServiceTax], [GrandTotal], [TotalPaid], [Balance], [Remarks]) VALUES (@Inv_ID, @InvoiceNo, @InvoiceDate, @ServiceID, @RepairCharges, @Upfront, @ProductCharges, @ServiceTaxPer, @ServiceTax, @GrandTotal, @TotalPaid, @Balance, @Remarks);
775 SELECT Inv_ID, InvoiceNo, InvoiceDate, ServiceID, RepairCharges, Upfront, ProductCharges, ServiceTaxPer, ServiceTax, GrandTotal, TotalPaid, Balance, Remarks FROM InvoiceInfo1 WHERE (Inv_ID = @Inv_ID)</CommandText>
776                     <Parameters>
777                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
778                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Current" />
779                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Current" />
780                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ServiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ServiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
781                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RepairCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="RepairCharges" SourceColumnNullMapping="false" SourceVersion="Current" />
782                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Upfront" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Upfront" SourceColumnNullMapping="false" SourceVersion="Current" />
783                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ProductCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ProductCharges" SourceColumnNullMapping="false" SourceVersion="Current" />
784                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ServiceTaxPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTaxPer" SourceColumnNullMapping="false" SourceVersion="Current" />
785                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ServiceTax" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTax" SourceColumnNullMapping="false" SourceVersion="Current" />
786                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
787                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
788                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
789                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
790                     </Parameters>
791                   </DbCommand>
792                 </InsertCommand>
793                 <SelectCommand>
794                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
795                     <CommandText>SELECT Inv_ID, InvoiceNo, InvoiceDate, ServiceID, RepairCharges, Upfront, ProductCharges, ServiceTaxPer, ServiceTax, GrandTotal, TotalPaid, Balance, Remarks FROM dbo.InvoiceInfo1</CommandText>
796                     <Parameters />
797                   </DbCommand>
798                 </SelectCommand>
799                 <UpdateCommand>
800                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
801                     <CommandText>UPDATE [dbo].[InvoiceInfo1] SET [Inv_ID] = @Inv_ID, [InvoiceNo] = @InvoiceNo, [InvoiceDate] = @InvoiceDate, [ServiceID] = @ServiceID, [RepairCharges] = @RepairCharges, [Upfront] = @Upfront, [ProductCharges] = @ProductCharges, [ServiceTaxPer] = @ServiceTaxPer, [ServiceTax] = @ServiceTax, [GrandTotal] = @GrandTotal, [TotalPaid] = @TotalPaid, [Balance] = @Balance, [Remarks] = @Remarks WHERE (([Inv_ID] = @Original_Inv_ID) AND ([InvoiceNo] = @Original_InvoiceNo) AND ([InvoiceDate] = @Original_InvoiceDate) AND ([ServiceID] = @Original_ServiceID) AND ([RepairCharges] = @Original_RepairCharges) AND ([Upfront] = @Original_Upfront) AND ([ProductCharges] = @Original_ProductCharges) AND ([ServiceTaxPer] = @Original_ServiceTaxPer) AND ([ServiceTax] = @Original_ServiceTax) AND ([GrandTotal] = @Original_GrandTotal) AND ([TotalPaid] = @Original_TotalPaid) AND ([Balance] = @Original_Balance));
802 SELECT Inv_ID, InvoiceNo, InvoiceDate, ServiceID, RepairCharges, Upfront, ProductCharges, ServiceTaxPer, ServiceTax, GrandTotal, TotalPaid, Balance, Remarks FROM InvoiceInfo1 WHERE (Inv_ID = @Inv_ID)</CommandText>
803                     <Parameters>
804                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
805                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Current" />
806                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Current" />
807                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ServiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ServiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
808                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RepairCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="RepairCharges" SourceColumnNullMapping="false" SourceVersion="Current" />
809                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Upfront" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Upfront" SourceColumnNullMapping="false" SourceVersion="Current" />
810                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ProductCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ProductCharges" SourceColumnNullMapping="false" SourceVersion="Current" />
811                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ServiceTaxPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTaxPer" SourceColumnNullMapping="false" SourceVersion="Current" />
812                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ServiceTax" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTax" SourceColumnNullMapping="false" SourceVersion="Current" />
813                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
814                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
815                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
816                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
817                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
818                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Original" />
819                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Original" />
820                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ServiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ServiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
821                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_RepairCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="RepairCharges" SourceColumnNullMapping="false" SourceVersion="Original" />
822                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Upfront" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Upfront" SourceColumnNullMapping="false" SourceVersion="Original" />
823                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ProductCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ProductCharges" SourceColumnNullMapping="false" SourceVersion="Original" />
824                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ServiceTaxPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTaxPer" SourceColumnNullMapping="false" SourceVersion="Original" />
825                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ServiceTax" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTax" SourceColumnNullMapping="false" SourceVersion="Original" />
826                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
827                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
828                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Original" />
829                     </Parameters>
830                   </DbCommand>
831                 </UpdateCommand>
832               </DbSource>
833             </MainSource>
834             <Mappings>
835               <Mapping SourceColumn=
"Inv_ID" DataSetColumn="Inv_ID" />
836               <Mapping SourceColumn=
"InvoiceNo" DataSetColumn="InvoiceNo" />
837               <Mapping SourceColumn=
"InvoiceDate" DataSetColumn="InvoiceDate" />
838               <Mapping SourceColumn=
"ServiceID" DataSetColumn="ServiceID" />
839               <Mapping SourceColumn=
"RepairCharges" DataSetColumn="RepairCharges" />
840               <Mapping SourceColumn=
"Upfront" DataSetColumn="Upfront" />
841               <Mapping SourceColumn=
"ProductCharges" DataSetColumn="ProductCharges" />
842               <Mapping SourceColumn=
"ServiceTaxPer" DataSetColumn="ServiceTaxPer" />
843               <Mapping SourceColumn=
"ServiceTax" DataSetColumn="ServiceTax" />
844               <Mapping SourceColumn=
"GrandTotal" DataSetColumn="GrandTotal" />
845               <Mapping SourceColumn=
"TotalPaid" DataSetColumn="TotalPaid" />
846               <Mapping SourceColumn=
"Balance" DataSetColumn="Balance" />
847               <Mapping SourceColumn=
"Remarks" DataSetColumn="Remarks" />
848             </Mappings>
849             <Sources />
850           </TableAdapter>
851           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LogsTableAdapter" GeneratorDataComponentClassName="LogsTableAdapter" Name="Logs" UserDataComponentName="LogsTableAdapter">
852             <MainSource>
853               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Logs" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
854                 <DeleteCommand>
855                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
856                     <CommandText>DELETE FROM [dbo].[Logs] WHERE (([ID] = @Original_ID) AND ([UserID] = @Original_UserID) AND ([Date] = @Original_Date))</CommandText>
857                     <Parameters>
858                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
859                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
860                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
861                     </Parameters>
862                   </DbCommand>
863                 </DeleteCommand>
864                 <InsertCommand>
865                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
866                     <CommandText>INSERT INTO [dbo].[Logs] ([UserID], [Operation], [Date]) VALUES (@UserID, @Operation, @Date);
867 SELECT ID, UserID, Operation, Date FROM Logs WHERE (ID = SCOPE_IDENTITY())</CommandText>
868                     <Parameters>
869                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
870                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Operation" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Operation" SourceColumnNullMapping="false" SourceVersion="Current" />
871                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
872                     </Parameters>
873                   </DbCommand>
874                 </InsertCommand>
875                 <SelectCommand>
876                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
877                     <CommandText>SELECT ID, UserID, Operation, Date FROM dbo.Logs</CommandText>
878                     <Parameters />
879                   </DbCommand>
880                 </SelectCommand>
881                 <UpdateCommand>
882                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
883                     <CommandText>UPDATE [dbo].[Logs] SET [UserID] = @UserID, [Operation] = @Operation, [Date] = @Date WHERE (([ID] = @Original_ID) AND ([UserID] = @Original_UserID) AND ([Date] = @Original_Date));
884 SELECT ID, UserID, Operation, Date FROM Logs WHERE (ID = @ID)</CommandText>
885                     <Parameters>
886                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
887                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Operation" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Operation" SourceColumnNullMapping="false" SourceVersion="Current" />
888                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
889                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
890                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
891                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
892                       <Parameter AllowDbNull=
"false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="SIS_DB.dbo.Logs" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
893                     </Parameters>
894                   </DbCommand>
895                 </UpdateCommand>
896               </DbSource>
897             </MainSource>
898             <Mappings>
899               <Mapping SourceColumn=
"ID" DataSetColumn="ID" />
900               <Mapping SourceColumn=
"UserID" DataSetColumn="UserID" />
901               <Mapping SourceColumn=
"Operation" DataSetColumn="Operation" />
902               <Mapping SourceColumn=
"Date" DataSetColumn="Date" />
903             </Mappings>
904             <Sources />
905           </TableAdapter>
906           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductTableAdapter" GeneratorDataComponentClassName="ProductTableAdapter" Name="Product" UserDataComponentName="ProductTableAdapter">
907             <MainSource>
908               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Product" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
909                 <DeleteCommand>
910                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
911                     <CommandText>DELETE FROM [dbo].[Product] WHERE (([PID] = @Original_PID) AND ([ProductCode] = @Original_ProductCode) AND ([ProductName] = @Original_ProductName) AND ([SubCategoryID] = @Original_SubCategoryID) AND ([CostPrice] = @Original_CostPrice) AND ([SellingPrice] = @Original_SellingPrice) AND ([Discount] = @Original_Discount) AND ([VAT] = @Original_VAT) AND ([ReorderPoint] = @Original_ReorderPoint))</CommandText>
912                     <Parameters>
913                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PID" SourceColumnNullMapping="false" SourceVersion="Original" />
914                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ProductCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductCode" SourceColumnNullMapping="false" SourceVersion="Original" />
915                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ProductName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Original" />
916                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SubCategoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SubCategoryID" SourceColumnNullMapping="false" SourceVersion="Original" />
917                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
918                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
919                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
920                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
921                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ReorderPoint" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ReorderPoint" SourceColumnNullMapping="false" SourceVersion="Original" />
922                     </Parameters>
923                   </DbCommand>
924                 </DeleteCommand>
925                 <InsertCommand>
926                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
927                     <CommandText>INSERT INTO [dbo].[Product] ([PID], [ProductCode], [ProductName], [SubCategoryID], [Description], [CostPrice], [SellingPrice], [Discount], [VAT], [ReorderPoint]) VALUES (@PID, @ProductCode, @ProductName, @SubCategoryID, @Description, @CostPrice, @SellingPrice, @Discount, @VAT, @ReorderPoint);
928 SELECT PID, ProductCode, ProductName, SubCategoryID, Description, CostPrice, SellingPrice, Discount, VAT, ReorderPoint FROM Product WHERE (PID = @PID)</CommandText>
929                     <Parameters>
930                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PID" SourceColumnNullMapping="false" SourceVersion="Current" />
931                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ProductCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductCode" SourceColumnNullMapping="false" SourceVersion="Current" />
932                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ProductName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Current" />
933                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SubCategoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SubCategoryID" SourceColumnNullMapping="false" SourceVersion="Current" />
934                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
935                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
936                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
937                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
938                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
939                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ReorderPoint" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ReorderPoint" SourceColumnNullMapping="false" SourceVersion="Current" />
940                     </Parameters>
941                   </DbCommand>
942                 </InsertCommand>
943                 <SelectCommand>
944                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
945                     <CommandText>SELECT PID, ProductCode, ProductName, SubCategoryID, Description, CostPrice, SellingPrice, Discount, VAT, ReorderPoint FROM dbo.Product</CommandText>
946                     <Parameters />
947                   </DbCommand>
948                 </SelectCommand>
949                 <UpdateCommand>
950                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
951                     <CommandText>UPDATE [dbo].[Product] SET [PID] = @PID, [ProductCode] = @ProductCode, [ProductName] = @ProductName, [SubCategoryID] = @SubCategoryID, [Description] = @Description, [CostPrice] = @CostPrice, [SellingPrice] = @SellingPrice, [Discount] = @Discount, [VAT] = @VAT, [ReorderPoint] = @ReorderPoint WHERE (([PID] = @Original_PID) AND ([ProductCode] = @Original_ProductCode) AND ([ProductName] = @Original_ProductName) AND ([SubCategoryID] = @Original_SubCategoryID) AND ([CostPrice] = @Original_CostPrice) AND ([SellingPrice] = @Original_SellingPrice) AND ([Discount] = @Original_Discount) AND ([VAT] = @Original_VAT) AND ([ReorderPoint] = @Original_ReorderPoint));
952 SELECT PID, ProductCode, ProductName, SubCategoryID, Description, CostPrice, SellingPrice, Discount, VAT, ReorderPoint FROM Product WHERE (PID = @PID)</CommandText>
953                     <Parameters>
954                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PID" SourceColumnNullMapping="false" SourceVersion="Current" />
955                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ProductCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductCode" SourceColumnNullMapping="false" SourceVersion="Current" />
956                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ProductName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Current" />
957                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SubCategoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SubCategoryID" SourceColumnNullMapping="false" SourceVersion="Current" />
958                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
959                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
960                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
961                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
962                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
963                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ReorderPoint" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ReorderPoint" SourceColumnNullMapping="false" SourceVersion="Current" />
964                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PID" SourceColumnNullMapping="false" SourceVersion="Original" />
965                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ProductCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductCode" SourceColumnNullMapping="false" SourceVersion="Original" />
966                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ProductName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Original" />
967                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SubCategoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SubCategoryID" SourceColumnNullMapping="false" SourceVersion="Original" />
968                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
969                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
970                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
971                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
972                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ReorderPoint" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ReorderPoint" SourceColumnNullMapping="false" SourceVersion="Original" />
973                     </Parameters>
974                   </DbCommand>
975                 </UpdateCommand>
976               </DbSource>
977             </MainSource>
978             <Mappings>
979               <Mapping SourceColumn=
"PID" DataSetColumn="PID" />
980               <Mapping SourceColumn=
"ProductCode" DataSetColumn="ProductCode" />
981               <Mapping SourceColumn=
"ProductName" DataSetColumn="ProductName" />
982               <Mapping SourceColumn=
"SubCategoryID" DataSetColumn="SubCategoryID" />
983               <Mapping SourceColumn=
"Description" DataSetColumn="Description" />
984               <Mapping SourceColumn=
"CostPrice" DataSetColumn="CostPrice" />
985               <Mapping SourceColumn=
"SellingPrice" DataSetColumn="SellingPrice" />
986               <Mapping SourceColumn=
"Discount" DataSetColumn="Discount" />
987               <Mapping SourceColumn=
"VAT" DataSetColumn="VAT" />
988               <Mapping SourceColumn=
"ReorderPoint" DataSetColumn="ReorderPoint" />
989             </Mappings>
990             <Sources />
991           </TableAdapter>
992           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Product_JoinTableAdapter" GeneratorDataComponentClassName="Product_JoinTableAdapter" Name="Product_Join" UserDataComponentName="Product_JoinTableAdapter">
993             <MainSource>
994               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Product_Join" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
995                 <DeleteCommand>
996                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
997                     <CommandText>DELETE FROM [dbo].[Product_Join] WHERE (([Id] = @Original_Id) AND ([ProductID] = @Original_ProductID))</CommandText>
998                     <Parameters>
999                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
1000                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1001                     </Parameters>
1002                   </DbCommand>
1003                 </DeleteCommand>
1004                 <InsertCommand>
1005                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1006                     <CommandText>INSERT INTO [dbo].[Product_Join] ([ProductID], [Photo]) VALUES (@ProductID, @Photo);
1007 SELECT Id, ProductID, Photo FROM Product_Join WHERE (Id = SCOPE_IDENTITY())</CommandText>
1008                     <Parameters>
1009                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1010                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
1011                     </Parameters>
1012                   </DbCommand>
1013                 </InsertCommand>
1014                 <SelectCommand>
1015                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1016                     <CommandText>SELECT Id, ProductID, Photo FROM dbo.Product_Join</CommandText>
1017                     <Parameters />
1018                   </DbCommand>
1019                 </SelectCommand>
1020                 <UpdateCommand>
1021                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1022                     <CommandText>UPDATE [dbo].[Product_Join] SET [ProductID] = @ProductID, [Photo] = @Photo WHERE (([Id] = @Original_Id) AND ([ProductID] = @Original_ProductID));
1023 SELECT Id, ProductID, Photo FROM Product_Join WHERE (Id = @Id)</CommandText>
1024                     <Parameters>
1025                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1026                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
1027                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
1028                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1029                       <Parameter AllowDbNull=
"false" AutogeneratedName="Id" ColumnName="Id" DataSourceName="SIS_DB.dbo.Product_Join" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Current" />
1030                     </Parameters>
1031                   </DbCommand>
1032                 </UpdateCommand>
1033               </DbSource>
1034             </MainSource>
1035             <Mappings>
1036               <Mapping SourceColumn=
"Id" DataSetColumn="Id" />
1037               <Mapping SourceColumn=
"ProductID" DataSetColumn="ProductID" />
1038               <Mapping SourceColumn=
"Photo" DataSetColumn="Photo" />
1039             </Mappings>
1040             <Sources />
1041           </TableAdapter>
1042           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="QuotationTableAdapter" GeneratorDataComponentClassName="QuotationTableAdapter" Name="Quotation" UserDataComponentName="QuotationTableAdapter">
1043             <MainSource>
1044               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Quotation" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1045                 <DeleteCommand>
1046                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1047                     <CommandText>DELETE FROM [dbo].[Quotation] WHERE (([Q_ID] = @Original_Q_ID) AND ([QuotationNo] = @Original_QuotationNo) AND ([Date] = @Original_Date) AND ([CustomerID] = @Original_CustomerID) AND ([GrandTotal] = @Original_GrandTotal))</CommandText>
1048                     <Parameters>
1049                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Q_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Q_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1050                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_QuotationNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="QuotationNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1051                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
1052                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
1053                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
1054                     </Parameters>
1055                   </DbCommand>
1056                 </DeleteCommand>
1057                 <InsertCommand>
1058                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1059                     <CommandText>INSERT INTO [dbo].[Quotation] ([Q_ID], [QuotationNo], [Date], [CustomerID], [GrandTotal], [Remarks]) VALUES (@Q_ID, @QuotationNo, @Date, @CustomerID, @GrandTotal, @Remarks);
1060 SELECT Q_ID, QuotationNo, Date, CustomerID, GrandTotal, Remarks FROM Quotation WHERE (Q_ID = @Q_ID)</CommandText>
1061                     <Parameters>
1062                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Q_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Q_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1063                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@QuotationNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="QuotationNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1064                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
1065                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
1066                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
1067                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1068                     </Parameters>
1069                   </DbCommand>
1070                 </InsertCommand>
1071                 <SelectCommand>
1072                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1073                     <CommandText>SELECT Q_ID, QuotationNo, Date, CustomerID, GrandTotal, Remarks FROM dbo.Quotation</CommandText>
1074                     <Parameters />
1075                   </DbCommand>
1076                 </SelectCommand>
1077                 <UpdateCommand>
1078                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1079                     <CommandText>UPDATE [dbo].[Quotation] SET [Q_ID] = @Q_ID, [QuotationNo] = @QuotationNo, [Date] = @Date, [CustomerID] = @CustomerID, [GrandTotal] = @GrandTotal, [Remarks] = @Remarks WHERE (([Q_ID] = @Original_Q_ID) AND ([QuotationNo] = @Original_QuotationNo) AND ([Date] = @Original_Date) AND ([CustomerID] = @Original_CustomerID) AND ([GrandTotal] = @Original_GrandTotal));
1080 SELECT Q_ID, QuotationNo, Date, CustomerID, GrandTotal, Remarks FROM Quotation WHERE (Q_ID = @Q_ID)</CommandText>
1081                     <Parameters>
1082                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Q_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Q_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1083                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@QuotationNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="QuotationNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1084                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
1085                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
1086                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
1087                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1088                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Q_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Q_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1089                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_QuotationNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="QuotationNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1090                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
1091                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
1092                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
1093                     </Parameters>
1094                   </DbCommand>
1095                 </UpdateCommand>
1096               </DbSource>
1097             </MainSource>
1098             <Mappings>
1099               <Mapping SourceColumn=
"Q_ID" DataSetColumn="Q_ID" />
1100               <Mapping SourceColumn=
"QuotationNo" DataSetColumn="QuotationNo" />
1101               <Mapping SourceColumn=
"Date" DataSetColumn="Date" />
1102               <Mapping SourceColumn=
"CustomerID" DataSetColumn="CustomerID" />
1103               <Mapping SourceColumn=
"GrandTotal" DataSetColumn="GrandTotal" />
1104               <Mapping SourceColumn=
"Remarks" DataSetColumn="Remarks" />
1105             </Mappings>
1106             <Sources />
1107           </TableAdapter>
1108           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Quotation_JoinTableAdapter" GeneratorDataComponentClassName="Quotation_JoinTableAdapter" Name="Quotation_Join" UserDataComponentName="Quotation_JoinTableAdapter">
1109             <MainSource>
1110               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Quotation_Join" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1111                 <DeleteCommand>
1112                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1113                     <CommandText>DELETE FROM [dbo].[Quotation_Join] WHERE (([QJ_ID] = @Original_QJ_ID) AND ([QuotationID] = @Original_QuotationID) AND ([ProductID] = @Original_ProductID) AND ([Cost] = @Original_Cost) AND ([Qty] = @Original_Qty) AND ([Amount] = @Original_Amount) AND ([DiscountPer] = @Original_DiscountPer) AND ([Discount] = @Original_Discount) AND ([VATPer] = @Original_VATPer) AND ([VAT] = @Original_VAT) AND ([TotalAmount] = @Original_TotalAmount))</CommandText>
1114                     <Parameters>
1115                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QJ_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QJ_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1116                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuotationID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuotationID" SourceColumnNullMapping="false" SourceVersion="Original" />
1117                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1118                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Cost" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Cost" SourceColumnNullMapping="false" SourceVersion="Original" />
1119                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
1120                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
1121                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1122                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
1123                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1124                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
1125                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
1126                     </Parameters>
1127                   </DbCommand>
1128                 </DeleteCommand>
1129                 <InsertCommand>
1130                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1131                     <CommandText>INSERT INTO [dbo].[Quotation_Join] ([QuotationID], [ProductID], [Cost], [Qty], [Amount], [DiscountPer], [Discount], [VATPer], [VAT], [TotalAmount]) VALUES (@QuotationID, @ProductID, @Cost, @Qty, @Amount, @DiscountPer, @Discount, @VATPer, @VAT, @TotalAmount);
1132 SELECT QJ_ID, QuotationID, ProductID, Cost, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM Quotation_Join WHERE (QJ_ID = SCOPE_IDENTITY())</CommandText>
1133                     <Parameters>
1134                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuotationID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuotationID" SourceColumnNullMapping="false" SourceVersion="Current" />
1135                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1136                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Cost" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Cost" SourceColumnNullMapping="false" SourceVersion="Current" />
1137                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
1138                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
1139                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1140                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
1141                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1142                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
1143                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
1144                     </Parameters>
1145                   </DbCommand>
1146                 </InsertCommand>
1147                 <SelectCommand>
1148                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1149                     <CommandText>SELECT QJ_ID, QuotationID, ProductID, Cost, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM dbo.Quotation_Join</CommandText>
1150                     <Parameters />
1151                   </DbCommand>
1152                 </SelectCommand>
1153                 <UpdateCommand>
1154                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1155                     <CommandText>UPDATE [dbo].[Quotation_Join] SET [QuotationID] = @QuotationID, [ProductID] = @ProductID, [Cost] = @Cost, [Qty] = @Qty, [Amount] = @Amount, [DiscountPer] = @DiscountPer, [Discount] = @Discount, [VATPer] = @VATPer, [VAT] = @VAT, [TotalAmount] = @TotalAmount WHERE (([QJ_ID] = @Original_QJ_ID) AND ([QuotationID] = @Original_QuotationID) AND ([ProductID] = @Original_ProductID) AND ([Cost] = @Original_Cost) AND ([Qty] = @Original_Qty) AND ([Amount] = @Original_Amount) AND ([DiscountPer] = @Original_DiscountPer) AND ([Discount] = @Original_Discount) AND ([VATPer] = @Original_VATPer) AND ([VAT] = @Original_VAT) AND ([TotalAmount] = @Original_TotalAmount));
1156 SELECT QJ_ID, QuotationID, ProductID, Cost, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM Quotation_Join WHERE (QJ_ID = @QJ_ID)</CommandText>
1157                     <Parameters>
1158                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuotationID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuotationID" SourceColumnNullMapping="false" SourceVersion="Current" />
1159                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1160                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Cost" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Cost" SourceColumnNullMapping="false" SourceVersion="Current" />
1161                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
1162                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
1163                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1164                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
1165                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1166                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
1167                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
1168                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QJ_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QJ_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1169                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuotationID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuotationID" SourceColumnNullMapping="false" SourceVersion="Original" />
1170                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1171                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Cost" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Cost" SourceColumnNullMapping="false" SourceVersion="Original" />
1172                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
1173                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
1174                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1175                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
1176                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1177                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
1178                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
1179                       <Parameter AllowDbNull=
"false" AutogeneratedName="QJ_ID" ColumnName="QJ_ID" DataSourceName="SIS_DB.dbo.Quotation_Join" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QJ_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="QJ_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1180                     </Parameters>
1181                   </DbCommand>
1182                 </UpdateCommand>
1183               </DbSource>
1184             </MainSource>
1185             <Mappings>
1186               <Mapping SourceColumn=
"QJ_ID" DataSetColumn="QJ_ID" />
1187               <Mapping SourceColumn=
"QuotationID" DataSetColumn="QuotationID" />
1188               <Mapping SourceColumn=
"ProductID" DataSetColumn="ProductID" />
1189               <Mapping SourceColumn=
"Cost" DataSetColumn="Cost" />
1190               <Mapping SourceColumn=
"Qty" DataSetColumn="Qty" />
1191               <Mapping SourceColumn=
"Amount" DataSetColumn="Amount" />
1192               <Mapping SourceColumn=
"DiscountPer" DataSetColumn="DiscountPer" />
1193               <Mapping SourceColumn=
"Discount" DataSetColumn="Discount" />
1194               <Mapping SourceColumn=
"VATPer" DataSetColumn="VATPer" />
1195               <Mapping SourceColumn=
"VAT" DataSetColumn="VAT" />
1196               <Mapping SourceColumn=
"TotalAmount" DataSetColumn="TotalAmount" />
1197             </Mappings>
1198             <Sources />
1199           </TableAdapter>
1200           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RegistrationTableAdapter" GeneratorDataComponentClassName="RegistrationTableAdapter" Name="Registration" UserDataComponentName="RegistrationTableAdapter">
1201             <MainSource>
1202               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Registration" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1203                 <DeleteCommand>
1204                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1205                     <CommandText>DELETE FROM [dbo].[Registration] WHERE (([UserID] = @Original_UserID) AND ([UserType] = @Original_UserType) AND ([Password] = @Original_Password) AND ([Name] = @Original_Name) AND ([ContactNo] = @Original_ContactNo) AND ((@IsNull_EmailID =
1 AND [EmailID] IS NULL) OR ([EmailID] = @Original_EmailID)) AND ((@IsNull_JoiningDate = 1 AND [JoiningDate] IS NULL) OR ([JoiningDate] = @Original_JoiningDate)))</CommandText>
1206                     <Parameters>
1207                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
1208                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_UserType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserType" SourceColumnNullMapping="false" SourceVersion="Original" />
1209                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
1210                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
1211                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1212                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
1213                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
1214                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_JoiningDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="true" SourceVersion="Original" />
1215                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_JoiningDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1216                     </Parameters>
1217                   </DbCommand>
1218                 </DeleteCommand>
1219                 <InsertCommand>
1220                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1221                     <CommandText>INSERT INTO [dbo].[Registration] ([UserID], [UserType], [Password], [Name], [ContactNo], [EmailID], [JoiningDate]) VALUES (@UserID, @UserType, @Password, @Name, @ContactNo, @EmailID, @JoiningDate);
1222 SELECT UserID, UserType, Password, Name, ContactNo, EmailID, JoiningDate FROM Registration WHERE (UserID = @UserID)</CommandText>
1223                     <Parameters>
1224                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
1225                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@UserType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserType" SourceColumnNullMapping="false" SourceVersion="Current" />
1226                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
1227                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
1228                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1229                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
1230                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@JoiningDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1231                     </Parameters>
1232                   </DbCommand>
1233                 </InsertCommand>
1234                 <SelectCommand>
1235                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1236                     <CommandText>SELECT UserID, UserType, Password, Name, ContactNo, EmailID, JoiningDate FROM dbo.Registration</CommandText>
1237                     <Parameters />
1238                   </DbCommand>
1239                 </SelectCommand>
1240                 <UpdateCommand>
1241                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1242                     <CommandText>UPDATE [dbo].[Registration] SET [UserID] = @UserID, [UserType] = @UserType, [Password] = @Password, [Name] = @Name, [ContactNo] = @ContactNo, [EmailID] = @EmailID, [JoiningDate] = @JoiningDate WHERE (([UserID] = @Original_UserID) AND ([UserType] = @Original_UserType) AND ([Password] = @Original_Password) AND ([Name] = @Original_Name) AND ([ContactNo] = @Original_ContactNo) AND ((@IsNull_EmailID =
1 AND [EmailID] IS NULL) OR ([EmailID] = @Original_EmailID)) AND ((@IsNull_JoiningDate = 1 AND [JoiningDate] IS NULL) OR ([JoiningDate] = @Original_JoiningDate)));
1243 SELECT UserID, UserType, Password, Name, ContactNo, EmailID, JoiningDate FROM Registration WHERE (UserID = @UserID)</CommandText>
1244                     <Parameters>
1245                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
1246                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@UserType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserType" SourceColumnNullMapping="false" SourceVersion="Current" />
1247                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
1248                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
1249                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1250                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
1251                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@JoiningDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1252                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
1253                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_UserType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserType" SourceColumnNullMapping="false" SourceVersion="Original" />
1254                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
1255                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
1256                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1257                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
1258                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
1259                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_JoiningDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="true" SourceVersion="Original" />
1260                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_JoiningDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1261                     </Parameters>
1262                   </DbCommand>
1263                 </UpdateCommand>
1264               </DbSource>
1265             </MainSource>
1266             <Mappings>
1267               <Mapping SourceColumn=
"UserID" DataSetColumn="UserID" />
1268               <Mapping SourceColumn=
"UserType" DataSetColumn="UserType" />
1269               <Mapping SourceColumn=
"Password" DataSetColumn="Password" />
1270               <Mapping SourceColumn=
"Name" DataSetColumn="Name" />
1271               <Mapping SourceColumn=
"ContactNo" DataSetColumn="ContactNo" />
1272               <Mapping SourceColumn=
"EmailID" DataSetColumn="EmailID" />
1273               <Mapping SourceColumn=
"JoiningDate" DataSetColumn="JoiningDate" />
1274             </Mappings>
1275             <Sources />
1276           </TableAdapter>
1277           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ServiceTableAdapter" GeneratorDataComponentClassName="ServiceTableAdapter" Name="Service" UserDataComponentName="ServiceTableAdapter">
1278             <MainSource>
1279               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Service" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1280                 <DeleteCommand>
1281                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1282                     <CommandText>DELETE FROM [dbo].[Service] WHERE (([S_ID] = @Original_S_ID) AND ([ServiceCode] = @Original_ServiceCode) AND ([CustomerID] = @Original_CustomerID) AND ((@IsNull_ServiceType =
1 AND [ServiceType] IS NULL) OR ([ServiceType] = @Original_ServiceType)) AND ([ServiceCreationDate] = @Original_ServiceCreationDate) AND ([ChargesQuote] = @Original_ChargesQuote) AND ([AdvanceDeposit] = @Original_AdvanceDeposit) AND ([EstimatedRepairDate] = @Original_EstimatedRepairDate) AND ([Status] = @Original_Status))</CommandText>
1283                     <Parameters>
1284                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_S_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1285                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ServiceCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceCode" SourceColumnNullMapping="false" SourceVersion="Original" />
1286                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
1287                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ServiceType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ServiceType" SourceColumnNullMapping="true" SourceVersion="Original" />
1288                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ServiceType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceType" SourceColumnNullMapping="false" SourceVersion="Original" />
1289                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ServiceCreationDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ServiceCreationDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1290                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ChargesQuote" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ChargesQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
1291                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_AdvanceDeposit" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="AdvanceDeposit" SourceColumnNullMapping="false" SourceVersion="Original" />
1292                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EstimatedRepairDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EstimatedRepairDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1293                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
1294                     </Parameters>
1295                   </DbCommand>
1296                 </DeleteCommand>
1297                 <InsertCommand>
1298                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1299                     <CommandText>INSERT INTO [dbo].[Service] ([S_ID], [ServiceCode], [CustomerID], [ServiceType], [ServiceCreationDate], [ItemDescription], [ProblemDescription], [ChargesQuote], [AdvanceDeposit], [EstimatedRepairDate], [Remarks], [Status]) VALUES (@S_ID, @ServiceCode, @CustomerID, @ServiceType, @ServiceCreationDate, @ItemDescription, @ProblemDescription, @ChargesQuote, @AdvanceDeposit, @EstimatedRepairDate, @Remarks, @Status);
1300 SELECT S_ID, ServiceCode, CustomerID, ServiceType, ServiceCreationDate, ItemDescription, ProblemDescription, ChargesQuote, AdvanceDeposit, EstimatedRepairDate, Remarks, Status FROM Service WHERE (S_ID = @S_ID)</CommandText>
1301                     <Parameters>
1302                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@S_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1303                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ServiceCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceCode" SourceColumnNullMapping="false" SourceVersion="Current" />
1304                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
1305                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ServiceType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceType" SourceColumnNullMapping="false" SourceVersion="Current" />
1306                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ServiceCreationDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ServiceCreationDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1307                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
1308                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProblemDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProblemDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
1309                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ChargesQuote" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ChargesQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
1310                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@AdvanceDeposit" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="AdvanceDeposit" SourceColumnNullMapping="false" SourceVersion="Current" />
1311                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EstimatedRepairDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EstimatedRepairDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1312                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1313                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
1314                     </Parameters>
1315                   </DbCommand>
1316                 </InsertCommand>
1317                 <SelectCommand>
1318                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1319                     <CommandText>SELECT S_ID, ServiceCode, CustomerID, ServiceType, ServiceCreationDate, ItemDescription, ProblemDescription, ChargesQuote, AdvanceDeposit, EstimatedRepairDate, Remarks, Status FROM dbo.Service</CommandText>
1320                     <Parameters />
1321                   </DbCommand>
1322                 </SelectCommand>
1323                 <UpdateCommand>
1324                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1325                     <CommandText>UPDATE [dbo].[Service] SET [S_ID] = @S_ID, [ServiceCode] = @ServiceCode, [CustomerID] = @CustomerID, [ServiceType] = @ServiceType, [ServiceCreationDate] = @ServiceCreationDate, [ItemDescription] = @ItemDescription, [ProblemDescription] = @ProblemDescription, [ChargesQuote] = @ChargesQuote, [AdvanceDeposit] = @AdvanceDeposit, [EstimatedRepairDate] = @EstimatedRepairDate, [Remarks] = @Remarks, [Status] = @Status WHERE (([S_ID] = @Original_S_ID) AND ([ServiceCode] = @Original_ServiceCode) AND ([CustomerID] = @Original_CustomerID) AND ((@IsNull_ServiceType =
1 AND [ServiceType] IS NULL) OR ([ServiceType] = @Original_ServiceType)) AND ([ServiceCreationDate] = @Original_ServiceCreationDate) AND ([ChargesQuote] = @Original_ChargesQuote) AND ([AdvanceDeposit] = @Original_AdvanceDeposit) AND ([EstimatedRepairDate] = @Original_EstimatedRepairDate) AND ([Status] = @Original_Status));
1326 SELECT S_ID, ServiceCode, CustomerID, ServiceType, ServiceCreationDate, ItemDescription, ProblemDescription, ChargesQuote, AdvanceDeposit, EstimatedRepairDate, Remarks, Status FROM Service WHERE (S_ID = @S_ID)</CommandText>
1327                     <Parameters>
1328                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@S_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1329                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ServiceCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceCode" SourceColumnNullMapping="false" SourceVersion="Current" />
1330                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
1331                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ServiceType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceType" SourceColumnNullMapping="false" SourceVersion="Current" />
1332                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ServiceCreationDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ServiceCreationDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1333                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
1334                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProblemDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProblemDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
1335                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ChargesQuote" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ChargesQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
1336                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@AdvanceDeposit" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="AdvanceDeposit" SourceColumnNullMapping="false" SourceVersion="Current" />
1337                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EstimatedRepairDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EstimatedRepairDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1338                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1339                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
1340                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_S_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1341                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ServiceCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceCode" SourceColumnNullMapping="false" SourceVersion="Original" />
1342                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
1343                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ServiceType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ServiceType" SourceColumnNullMapping="true" SourceVersion="Original" />
1344                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ServiceType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceType" SourceColumnNullMapping="false" SourceVersion="Original" />
1345                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ServiceCreationDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ServiceCreationDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1346                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ChargesQuote" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ChargesQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
1347                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_AdvanceDeposit" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="AdvanceDeposit" SourceColumnNullMapping="false" SourceVersion="Original" />
1348                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EstimatedRepairDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EstimatedRepairDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1349                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
1350                     </Parameters>
1351                   </DbCommand>
1352                 </UpdateCommand>
1353               </DbSource>
1354             </MainSource>
1355             <Mappings>
1356               <Mapping SourceColumn=
"S_ID" DataSetColumn="S_ID" />
1357               <Mapping SourceColumn=
"ServiceCode" DataSetColumn="ServiceCode" />
1358               <Mapping SourceColumn=
"CustomerID" DataSetColumn="CustomerID" />
1359               <Mapping SourceColumn=
"ServiceType" DataSetColumn="ServiceType" />
1360               <Mapping SourceColumn=
"ServiceCreationDate" DataSetColumn="ServiceCreationDate" />
1361               <Mapping SourceColumn=
"ItemDescription" DataSetColumn="ItemDescription" />
1362               <Mapping SourceColumn=
"ProblemDescription" DataSetColumn="ProblemDescription" />
1363               <Mapping SourceColumn=
"ChargesQuote" DataSetColumn="ChargesQuote" />
1364               <Mapping SourceColumn=
"AdvanceDeposit" DataSetColumn="AdvanceDeposit" />
1365               <Mapping SourceColumn=
"EstimatedRepairDate" DataSetColumn="EstimatedRepairDate" />
1366               <Mapping SourceColumn=
"Remarks" DataSetColumn="Remarks" />
1367               <Mapping SourceColumn=
"Status" DataSetColumn="Status" />
1368             </Mappings>
1369             <Sources />
1370           </TableAdapter>
1371           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StockTableAdapter" GeneratorDataComponentClassName="StockTableAdapter" Name="Stock" UserDataComponentName="StockTableAdapter">
1372             <MainSource>
1373               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Stock" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1374                 <DeleteCommand>
1375                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1376                     <CommandText>DELETE FROM [dbo].[Stock] WHERE (([ST_ID] = @Original_ST_ID) AND ([Stock_ID] = @Original_Stock_ID) AND ([Date] = @Original_Date) AND ([SupplierID] = @Original_SupplierID) AND ([GrandTotal] = @Original_GrandTotal) AND ([TotalPayment] = @Original_TotalPayment) AND ([PaymentDue] = @Original_PaymentDue))</CommandText>
1377                     <Parameters>
1378                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ST_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ST_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1379                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Stock_ID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Stock_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1380                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
1381                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SupplierID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Original" />
1382                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
1383                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPayment" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPayment" SourceColumnNullMapping="false" SourceVersion="Original" />
1384                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_PaymentDue" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="PaymentDue" SourceColumnNullMapping="false" SourceVersion="Original" />
1385                     </Parameters>
1386                   </DbCommand>
1387                 </DeleteCommand>
1388                 <InsertCommand>
1389                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1390                     <CommandText>INSERT INTO [dbo].[Stock] ([ST_ID], [Stock_ID], [Date], [SupplierID], [GrandTotal], [TotalPayment], [PaymentDue], [Remarks]) VALUES (@ST_ID, @Stock_ID, @Date, @SupplierID, @GrandTotal, @TotalPayment, @PaymentDue, @Remarks);
1391 SELECT ST_ID, Stock_ID, Date, SupplierID, GrandTotal, TotalPayment, PaymentDue, Remarks FROM Stock WHERE (ST_ID = @ST_ID)</CommandText>
1392                     <Parameters>
1393                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ST_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ST_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1394                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Stock_ID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Stock_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1395                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
1396                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SupplierID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Current" />
1397                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
1398                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPayment" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPayment" SourceColumnNullMapping="false" SourceVersion="Current" />
1399                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@PaymentDue" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="PaymentDue" SourceColumnNullMapping="false" SourceVersion="Current" />
1400                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1401                     </Parameters>
1402                   </DbCommand>
1403                 </InsertCommand>
1404                 <SelectCommand>
1405                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1406                     <CommandText>SELECT ST_ID, Stock_ID, Date, SupplierID, GrandTotal, TotalPayment, PaymentDue, Remarks FROM dbo.Stock</CommandText>
1407                     <Parameters />
1408                   </DbCommand>
1409                 </SelectCommand>
1410                 <UpdateCommand>
1411                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1412                     <CommandText>UPDATE [dbo].[Stock] SET [ST_ID] = @ST_ID, [Stock_ID] = @Stock_ID, [Date] = @Date, [SupplierID] = @SupplierID, [GrandTotal] = @GrandTotal, [TotalPayment] = @TotalPayment, [PaymentDue] = @PaymentDue, [Remarks] = @Remarks WHERE (([ST_ID] = @Original_ST_ID) AND ([Stock_ID] = @Original_Stock_ID) AND ([Date] = @Original_Date) AND ([SupplierID] = @Original_SupplierID) AND ([GrandTotal] = @Original_GrandTotal) AND ([TotalPayment] = @Original_TotalPayment) AND ([PaymentDue] = @Original_PaymentDue));
1413 SELECT ST_ID, Stock_ID, Date, SupplierID, GrandTotal, TotalPayment, PaymentDue, Remarks FROM Stock WHERE (ST_ID = @ST_ID)</CommandText>
1414                     <Parameters>
1415                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ST_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ST_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1416                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Stock_ID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Stock_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1417                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
1418                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SupplierID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Current" />
1419                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
1420                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPayment" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPayment" SourceColumnNullMapping="false" SourceVersion="Current" />
1421                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@PaymentDue" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="PaymentDue" SourceColumnNullMapping="false" SourceVersion="Current" />
1422                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1423                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ST_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ST_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1424                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Stock_ID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Stock_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1425                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
1426                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SupplierID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Original" />
1427                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
1428                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPayment" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPayment" SourceColumnNullMapping="false" SourceVersion="Original" />
1429                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_PaymentDue" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="PaymentDue" SourceColumnNullMapping="false" SourceVersion="Original" />
1430                     </Parameters>
1431                   </DbCommand>
1432                 </UpdateCommand>
1433               </DbSource>
1434             </MainSource>
1435             <Mappings>
1436               <Mapping SourceColumn=
"ST_ID" DataSetColumn="ST_ID" />
1437               <Mapping SourceColumn=
"Stock_ID" DataSetColumn="Stock_ID" />
1438               <Mapping SourceColumn=
"Date" DataSetColumn="Date" />
1439               <Mapping SourceColumn=
"SupplierID" DataSetColumn="SupplierID" />
1440               <Mapping SourceColumn=
"GrandTotal" DataSetColumn="GrandTotal" />
1441               <Mapping SourceColumn=
"TotalPayment" DataSetColumn="TotalPayment" />
1442               <Mapping SourceColumn=
"PaymentDue" DataSetColumn="PaymentDue" />
1443               <Mapping SourceColumn=
"Remarks" DataSetColumn="Remarks" />
1444             </Mappings>
1445             <Sources />
1446           </TableAdapter>
1447           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Stock_ProductTableAdapter" GeneratorDataComponentClassName="Stock_ProductTableAdapter" Name="Stock_Product" UserDataComponentName="Stock_ProductTableAdapter">
1448             <MainSource>
1449               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Stock_Product" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1450                 <DeleteCommand>
1451                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1452                     <CommandText>DELETE FROM [dbo].[Stock_Product] WHERE (([SP_ID] = @Original_SP_ID) AND ([StockID] = @Original_StockID) AND ([ProductID] = @Original_ProductID) AND ([Qty] = @Original_Qty) AND ([Price] = @Original_Price) AND ([TotalAmount] = @Original_TotalAmount))</CommandText>
1453                     <Parameters>
1454                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SP_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SP_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1455                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StockID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StockID" SourceColumnNullMapping="false" SourceVersion="Original" />
1456                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1457                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
1458                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Price" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Price" SourceColumnNullMapping="false" SourceVersion="Original" />
1459                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
1460                     </Parameters>
1461                   </DbCommand>
1462                 </DeleteCommand>
1463                 <InsertCommand>
1464                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1465                     <CommandText>INSERT INTO [dbo].[Stock_Product] ([StockID], [ProductID], [Qty], [Price], [TotalAmount]) VALUES (@StockID, @ProductID, @Qty, @Price, @TotalAmount);
1466 SELECT SP_ID, StockID, ProductID, Qty, Price, TotalAmount FROM Stock_Product WHERE (SP_ID = SCOPE_IDENTITY())</CommandText>
1467                     <Parameters>
1468                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StockID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StockID" SourceColumnNullMapping="false" SourceVersion="Current" />
1469                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1470                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
1471                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Price" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Price" SourceColumnNullMapping="false" SourceVersion="Current" />
1472                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
1473                     </Parameters>
1474                   </DbCommand>
1475                 </InsertCommand>
1476                 <SelectCommand>
1477                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1478                     <CommandText>SELECT SP_ID, StockID, ProductID, Qty, Price, TotalAmount FROM dbo.Stock_Product</CommandText>
1479                     <Parameters />
1480                   </DbCommand>
1481                 </SelectCommand>
1482                 <UpdateCommand>
1483                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1484                     <CommandText>UPDATE [dbo].[Stock_Product] SET [StockID] = @StockID, [ProductID] = @ProductID, [Qty] = @Qty, [Price] = @Price, [TotalAmount] = @TotalAmount WHERE (([SP_ID] = @Original_SP_ID) AND ([StockID] = @Original_StockID) AND ([ProductID] = @Original_ProductID) AND ([Qty] = @Original_Qty) AND ([Price] = @Original_Price) AND ([TotalAmount] = @Original_TotalAmount));
1485 SELECT SP_ID, StockID, ProductID, Qty, Price, TotalAmount FROM Stock_Product WHERE (SP_ID = @SP_ID)</CommandText>
1486                     <Parameters>
1487                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StockID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StockID" SourceColumnNullMapping="false" SourceVersion="Current" />
1488                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1489                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
1490                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Price" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Price" SourceColumnNullMapping="false" SourceVersion="Current" />
1491                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
1492                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SP_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SP_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1493                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StockID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StockID" SourceColumnNullMapping="false" SourceVersion="Original" />
1494                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1495                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
1496                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Price" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Price" SourceColumnNullMapping="false" SourceVersion="Original" />
1497                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
1498                       <Parameter AllowDbNull=
"false" AutogeneratedName="SP_ID" ColumnName="SP_ID" DataSourceName="SIS_DB.dbo.Stock_Product" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SP_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="SP_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1499                     </Parameters>
1500                   </DbCommand>
1501                 </UpdateCommand>
1502               </DbSource>
1503             </MainSource>
1504             <Mappings>
1505               <Mapping SourceColumn=
"SP_ID" DataSetColumn="SP_ID" />
1506               <Mapping SourceColumn=
"StockID" DataSetColumn="StockID" />
1507               <Mapping SourceColumn=
"ProductID" DataSetColumn="ProductID" />
1508               <Mapping SourceColumn=
"Qty" DataSetColumn="Qty" />
1509               <Mapping SourceColumn=
"Price" DataSetColumn="Price" />
1510               <Mapping SourceColumn=
"TotalAmount" DataSetColumn="TotalAmount" />
1511             </Mappings>
1512             <Sources />
1513           </TableAdapter>
1514           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SubCategoryTableAdapter" GeneratorDataComponentClassName="SubCategoryTableAdapter" Name="SubCategory" UserDataComponentName="SubCategoryTableAdapter">
1515             <MainSource>
1516               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.SubCategory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1517                 <DeleteCommand>
1518                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1519                     <CommandText>DELETE FROM [dbo].[SubCategory] WHERE (([ID] = @Original_ID) AND ([SubCategoryName] = @Original_SubCategoryName) AND ([Category] = @Original_Category))</CommandText>
1520                     <Parameters>
1521                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1522                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_SubCategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SubCategoryName" SourceColumnNullMapping="false" SourceVersion="Original" />
1523                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Category" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Original" />
1524                     </Parameters>
1525                   </DbCommand>
1526                 </DeleteCommand>
1527                 <InsertCommand>
1528                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1529                     <CommandText>INSERT INTO [dbo].[SubCategory] ([ID], [SubCategoryName], [Category]) VALUES (@ID, @SubCategoryName, @Category);
1530 SELECT ID, SubCategoryName, Category FROM SubCategory WHERE (ID = @ID)</CommandText>
1531                     <Parameters>
1532                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1533                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@SubCategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SubCategoryName" SourceColumnNullMapping="false" SourceVersion="Current" />
1534                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Category" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Current" />
1535                     </Parameters>
1536                   </DbCommand>
1537                 </InsertCommand>
1538                 <SelectCommand>
1539                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1540                     <CommandText>SELECT ID, SubCategoryName, Category FROM dbo.SubCategory</CommandText>
1541                     <Parameters />
1542                   </DbCommand>
1543                 </SelectCommand>
1544                 <UpdateCommand>
1545                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1546                     <CommandText>UPDATE [dbo].[SubCategory] SET [ID] = @ID, [SubCategoryName] = @SubCategoryName, [Category] = @Category WHERE (([ID] = @Original_ID) AND ([SubCategoryName] = @Original_SubCategoryName) AND ([Category] = @Original_Category));
1547 SELECT ID, SubCategoryName, Category FROM SubCategory WHERE (ID = @ID)</CommandText>
1548                     <Parameters>
1549                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1550                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@SubCategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SubCategoryName" SourceColumnNullMapping="false" SourceVersion="Current" />
1551                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Category" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Current" />
1552                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1553                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_SubCategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SubCategoryName" SourceColumnNullMapping="false" SourceVersion="Original" />
1554                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Category" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Original" />
1555                     </Parameters>
1556                   </DbCommand>
1557                 </UpdateCommand>
1558               </DbSource>
1559             </MainSource>
1560             <Mappings>
1561               <Mapping SourceColumn=
"ID" DataSetColumn="ID" />
1562               <Mapping SourceColumn=
"SubCategoryName" DataSetColumn="SubCategoryName" />
1563               <Mapping SourceColumn=
"Category" DataSetColumn="Category" />
1564             </Mappings>
1565             <Sources />
1566           </TableAdapter>
1567           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SupplierTableAdapter" GeneratorDataComponentClassName="SupplierTableAdapter" Name="Supplier" UserDataComponentName="SupplierTableAdapter">
1568             <MainSource>
1569               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Supplier" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1570                 <DeleteCommand>
1571                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1572                     <CommandText>DELETE FROM [dbo].[Supplier] WHERE (([ID] = @Original_ID) AND ([SupplierID] = @Original_SupplierID) AND ([Name] = @Original_Name) AND ([Address] = @Original_Address) AND ([City] = @Original_City) AND ([State] = @Original_State) AND ((@IsNull_ZipCode =
1 AND [ZipCode] IS NULL) OR ([ZipCode] = @Original_ZipCode)) AND ([ContactNo] = @Original_ContactNo) AND ((@IsNull_EmailID = 1 AND [EmailID] IS NULL) OR ([EmailID] = @Original_EmailID)))</CommandText>
1573                     <Parameters>
1574                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1575                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_SupplierID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Original" />
1576                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
1577                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
1578                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
1579                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Original" />
1580                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ZipCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="true" SourceVersion="Original" />
1581                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Original" />
1582                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1583                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
1584                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
1585                     </Parameters>
1586                   </DbCommand>
1587                 </DeleteCommand>
1588                 <InsertCommand>
1589                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1590                     <CommandText>INSERT INTO [dbo].[Supplier] ([ID], [SupplierID], [Name], [Address], [City], [State], [ZipCode], [ContactNo], [EmailID], [Remarks]) VALUES (@ID, @SupplierID, @Name, @Address, @City, @State, @ZipCode, @ContactNo, @EmailID, @Remarks);
1591 SELECT ID, SupplierID, Name, Address, City, State, ZipCode, ContactNo, EmailID, Remarks FROM Supplier WHERE (ID = @ID)</CommandText>
1592                     <Parameters>
1593                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1594                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@SupplierID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Current" />
1595                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
1596                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
1597                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
1598                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
1599                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Current" />
1600                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1601                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
1602                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1603                     </Parameters>
1604                   </DbCommand>
1605                 </InsertCommand>
1606                 <SelectCommand>
1607                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1608                     <CommandText>SELECT ID, SupplierID, Name, Address, City, State, ZipCode, ContactNo, EmailID, Remarks FROM dbo.Supplier</CommandText>
1609                     <Parameters />
1610                   </DbCommand>
1611                 </SelectCommand>
1612                 <UpdateCommand>
1613                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1614                     <CommandText>UPDATE [dbo].[Supplier] SET [ID] = @ID, [SupplierID] = @SupplierID, [Name] = @Name, [Address] = @Address, [City] = @City, [State] = @State, [ZipCode] = @ZipCode, [ContactNo] = @ContactNo, [EmailID] = @EmailID, [Remarks] = @Remarks WHERE (([ID] = @Original_ID) AND ([SupplierID] = @Original_SupplierID) AND ([Name] = @Original_Name) AND ([Address] = @Original_Address) AND ([City] = @Original_City) AND ([State] = @Original_State) AND ((@IsNull_ZipCode =
1 AND [ZipCode] IS NULL) OR ([ZipCode] = @Original_ZipCode)) AND ([ContactNo] = @Original_ContactNo) AND ((@IsNull_EmailID = 1 AND [EmailID] IS NULL) OR ([EmailID] = @Original_EmailID)));
1615 SELECT ID, SupplierID, Name, Address, City, State, ZipCode, ContactNo, EmailID, Remarks FROM Supplier WHERE (ID = @ID)</CommandText>
1616                     <Parameters>
1617                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1618                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@SupplierID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Current" />
1619                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
1620                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
1621                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
1622                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
1623                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Current" />
1624                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1625                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
1626                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1627                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1628                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_SupplierID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Original" />
1629                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
1630                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
1631                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
1632                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Original" />
1633                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ZipCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="true" SourceVersion="Original" />
1634                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Original" />
1635                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1636                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
1637                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
1638                     </Parameters>
1639                   </DbCommand>
1640                 </UpdateCommand>
1641               </DbSource>
1642             </MainSource>
1643             <Mappings>
1644               <Mapping SourceColumn=
"ID" DataSetColumn="ID" />
1645               <Mapping SourceColumn=
"SupplierID" DataSetColumn="SupplierID" />
1646               <Mapping SourceColumn=
"Name" DataSetColumn="Name" />
1647               <Mapping SourceColumn=
"Address" DataSetColumn="Address" />
1648               <Mapping SourceColumn=
"City" DataSetColumn="City" />
1649               <Mapping SourceColumn=
"State" DataSetColumn="State" />
1650               <Mapping SourceColumn=
"ZipCode" DataSetColumn="ZipCode" />
1651               <Mapping SourceColumn=
"ContactNo" DataSetColumn="ContactNo" />
1652               <Mapping SourceColumn=
"EmailID" DataSetColumn="EmailID" />
1653               <Mapping SourceColumn=
"Remarks" DataSetColumn="Remarks" />
1654             </Mappings>
1655             <Sources />
1656           </TableAdapter>
1657           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Temp_StockTableAdapter" GeneratorDataComponentClassName="Temp_StockTableAdapter" Name="Temp_Stock" UserDataComponentName="Temp_StockTableAdapter">
1658             <MainSource>
1659               <DbSource ConnectionRef=
"SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Temp_Stock" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1660                 <DeleteCommand>
1661                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1662                     <CommandText>DELETE FROM [dbo].[Temp_Stock] WHERE (([ProductID] = @Original_ProductID) AND ([Qty] = @Original_Qty))</CommandText>
1663                     <Parameters>
1664                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1665                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
1666                     </Parameters>
1667                   </DbCommand>
1668                 </DeleteCommand>
1669                 <InsertCommand>
1670                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1671                     <CommandText>INSERT INTO [dbo].[Temp_Stock] ([ProductID], [Qty]) VALUES (@ProductID, @Qty);
1672 SELECT ProductID, Qty FROM Temp_Stock WHERE (ProductID = @ProductID)</CommandText>
1673                     <Parameters>
1674                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1675                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
1676                     </Parameters>
1677                   </DbCommand>
1678                 </InsertCommand>
1679                 <SelectCommand>
1680                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1681                     <CommandText>SELECT ProductID, Qty FROM dbo.Temp_Stock</CommandText>
1682                     <Parameters />
1683                   </DbCommand>
1684                 </SelectCommand>
1685                 <UpdateCommand>
1686                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1687                     <CommandText>UPDATE [dbo].[Temp_Stock] SET [ProductID] = @ProductID, [Qty] = @Qty WHERE (([ProductID] = @Original_ProductID) AND ([Qty] = @Original_Qty));
1688 SELECT ProductID, Qty FROM Temp_Stock WHERE (ProductID = @ProductID)</CommandText>
1689                     <Parameters>
1690                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1691                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
1692                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1693                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
1694                     </Parameters>
1695                   </DbCommand>
1696                 </UpdateCommand>
1697               </DbSource>
1698             </MainSource>
1699             <Mappings>
1700               <Mapping SourceColumn=
"ProductID" DataSetColumn="ProductID" />
1701               <Mapping SourceColumn=
"Qty" DataSetColumn="Qty" />
1702             </Mappings>
1703             <Sources />
1704           </TableAdapter>
1705         </Tables>
1706         <Sources />
1707       </DataSource>
1708     </xs:appinfo>
1709   </xs:annotation>
1710   <xs:element name=
"SIS_DBDataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="SIS_DBDataSet1" msprop:Generator_UserDSName="SIS_DBDataSet1">
1711     <xs:complexType>
1712       <xs:choice minOccurs=
"0" maxOccurs="unbounded">
1713         <xs:element name=
"Activation" msprop:Generator_TableClassName="ActivationDataTable" msprop:Generator_TableVarName="tableActivation" msprop:Generator_TablePropName="Activation" msprop:Generator_RowDeletingName="ActivationRowDeleting" msprop:Generator_RowChangingName="ActivationRowChanging" msprop:Generator_RowEvHandlerName="ActivationRowChangeEventHandler" msprop:Generator_RowDeletedName="ActivationRowDeleted" msprop:Generator_UserTableName="Activation" msprop:Generator_RowChangedName="ActivationRowChanged" msprop:Generator_RowEvArgName="ActivationRowChangeEvent" msprop:Generator_RowClassName="ActivationRow">
1714           <xs:complexType>
1715             <xs:sequence>
1716               <xs:element name=
"ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
1717               <xs:element name=
"HardwareID" msprop:Generator_ColumnVarNameInTable="columnHardwareID" msprop:Generator_ColumnPropNameInRow="HardwareID" msprop:Generator_ColumnPropNameInTable="HardwareIDColumn" msprop:Generator_UserColumnName="HardwareID">
1718                 <xs:simpleType>
1719                   <xs:restriction
base="xs:string">
1720                     <xs:maxLength
value="100" />
1721                   </xs:restriction>
1722                 </xs:simpleType>
1723               </xs:element>
1724               <xs:element name=
"SerialNo" msprop:Generator_ColumnVarNameInTable="columnSerialNo" msprop:Generator_ColumnPropNameInRow="SerialNo" msprop:Generator_ColumnPropNameInTable="SerialNoColumn" msprop:Generator_UserColumnName="SerialNo">
1725                 <xs:simpleType>
1726                   <xs:restriction
base="xs:string">
1727                     <xs:maxLength
value="100" />
1728                   </xs:restriction>
1729                 </xs:simpleType>
1730               </xs:element>
1731               <xs:element name=
"ActivationID" msprop:Generator_ColumnVarNameInTable="columnActivationID" msprop:Generator_ColumnPropNameInRow="ActivationID" msprop:Generator_ColumnPropNameInTable="ActivationIDColumn" msprop:Generator_UserColumnName="ActivationID">
1732                 <xs:simpleType>
1733                   <xs:restriction
base="xs:string">
1734                     <xs:maxLength
value="150" />
1735                   </xs:restriction>
1736                 </xs:simpleType>
1737               </xs:element>
1738             </xs:sequence>
1739           </xs:complexType>
1740         </xs:element>
1741         <xs:element name=
"Category" msprop:Generator_TableClassName="CategoryDataTable" msprop:Generator_TableVarName="tableCategory" msprop:Generator_TablePropName="Category" msprop:Generator_RowDeletingName="CategoryRowDeleting" msprop:Generator_RowChangingName="CategoryRowChanging" msprop:Generator_RowEvHandlerName="CategoryRowChangeEventHandler" msprop:Generator_RowDeletedName="CategoryRowDeleted" msprop:Generator_UserTableName="Category" msprop:Generator_RowChangedName="CategoryRowChanged" msprop:Generator_RowEvArgName="CategoryRowChangeEvent" msprop:Generator_RowClassName="CategoryRow">
1742           <xs:complexType>
1743             <xs:sequence>
1744               <xs:element name=
"CategoryName" msprop:Generator_ColumnVarNameInTable="columnCategoryName" msprop:Generator_ColumnPropNameInRow="CategoryName" msprop:Generator_ColumnPropNameInTable="CategoryNameColumn" msprop:Generator_UserColumnName="CategoryName">
1745                 <xs:simpleType>
1746                   <xs:restriction
base="xs:string">
1747                     <xs:maxLength
value="150" />
1748                   </xs:restriction>
1749                 </xs:simpleType>
1750               </xs:element>
1751             </xs:sequence>
1752           </xs:complexType>
1753         </xs:element>
1754         <xs:element name=
"Company" msprop:Generator_TableClassName="CompanyDataTable" msprop:Generator_TableVarName="tableCompany" msprop:Generator_TablePropName="Company" msprop:Generator_RowDeletingName="CompanyRowDeleting" msprop:Generator_RowChangingName="CompanyRowChanging" msprop:Generator_RowEvHandlerName="CompanyRowChangeEventHandler" msprop:Generator_RowDeletedName="CompanyRowDeleted" msprop:Generator_UserTableName="Company" msprop:Generator_RowChangedName="CompanyRowChanged" msprop:Generator_RowEvArgName="CompanyRowChangeEvent" msprop:Generator_RowClassName="CompanyRow">
1755           <xs:complexType>
1756             <xs:sequence>
1757               <xs:element name=
"ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
1758               <xs:element name=
"CompanyName" msprop:Generator_ColumnVarNameInTable="columnCompanyName" msprop:Generator_ColumnPropNameInRow="CompanyName" msprop:Generator_ColumnPropNameInTable="CompanyNameColumn" msprop:Generator_UserColumnName="CompanyName">
1759                 <xs:simpleType>
1760                   <xs:restriction
base="xs:string">
1761                     <xs:maxLength
value="200" />
1762                   </xs:restriction>
1763                 </xs:simpleType>
1764               </xs:element>
1765               <xs:element name=
"Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" msprop:Generator_UserColumnName="Address">
1766                 <xs:simpleType>
1767                   <xs:restriction
base="xs:string">
1768                     <xs:maxLength
value="250" />
1769                   </xs:restriction>
1770                 </xs:simpleType>
1771               </xs:element>
1772               <xs:element name=
"ContactNo" msprop:Generator_ColumnVarNameInTable="columnContactNo" msprop:Generator_ColumnPropNameInRow="ContactNo" msprop:Generator_ColumnPropNameInTable="ContactNoColumn" msprop:Generator_UserColumnName="ContactNo">
1773                 <xs:simpleType>
1774                   <xs:restriction
base="xs:string">
1775                     <xs:maxLength
value="150" />
1776                   </xs:restriction>
1777                 </xs:simpleType>
1778               </xs:element>
1779               <xs:element name=
"EmailID" msprop:Generator_ColumnVarNameInTable="columnEmailID" msprop:Generator_ColumnPropNameInRow="EmailID" msprop:Generator_ColumnPropNameInTable="EmailIDColumn" msprop:Generator_UserColumnName="EmailID">
1780                 <xs:simpleType>
1781                   <xs:restriction
base="xs:string">
1782                     <xs:maxLength
value="150" />
1783                   </xs:restriction>
1784                 </xs:simpleType>
1785               </xs:element>
1786               <xs:element name=
"Logo" msprop:Generator_ColumnVarNameInTable="columnLogo" msprop:Generator_ColumnPropNameInRow="Logo" msprop:Generator_ColumnPropNameInTable="LogoColumn" msprop:Generator_UserColumnName="Logo" type="xs:base64Binary" />
1787               <xs:element name=
"TIN" msprop:Generator_ColumnVarNameInTable="columnTIN" msprop:Generator_ColumnPropNameInRow="TIN" msprop:Generator_ColumnPropNameInTable="TINColumn" msprop:Generator_UserColumnName="TIN" minOccurs="0">
1788                 <xs:simpleType>
1789                   <xs:restriction
base="xs:string">
1790                     <xs:maxLength
value="150" />
1791                   </xs:restriction>
1792                 </xs:simpleType>
1793               </xs:element>
1794               <xs:element name=
"STNo" msprop:Generator_ColumnVarNameInTable="columnSTNo" msprop:Generator_ColumnPropNameInRow="STNo" msprop:Generator_ColumnPropNameInTable="STNoColumn" msprop:Generator_UserColumnName="STNo" minOccurs="0">
1795                 <xs:simpleType>
1796                   <xs:restriction
base="xs:string">
1797                     <xs:maxLength
value="150" />
1798                   </xs:restriction>
1799                 </xs:simpleType>
1800               </xs:element>
1801               <xs:element name=
"CIN" msprop:Generator_ColumnVarNameInTable="columnCIN" msprop:Generator_ColumnPropNameInRow="CIN" msprop:Generator_ColumnPropNameInTable="CINColumn" msprop:Generator_UserColumnName="CIN" minOccurs="0">
1802                 <xs:simpleType>
1803                   <xs:restriction
base="xs:string">
1804                     <xs:maxLength
value="150" />
1805                   </xs:restriction>
1806                 </xs:simpleType>
1807               </xs:element>
1808             </xs:sequence>
1809           </xs:complexType>
1810         </xs:element>
1811         <xs:element name=
"Company_Contacts" msprop:Generator_TableClassName="Company_ContactsDataTable" msprop:Generator_TableVarName="tableCompany_Contacts" msprop:Generator_TablePropName="Company_Contacts" msprop:Generator_RowDeletingName="Company_ContactsRowDeleting" msprop:Generator_RowChangingName="Company_ContactsRowChanging" msprop:Generator_RowEvHandlerName="Company_ContactsRowChangeEventHandler" msprop:Generator_RowDeletedName="Company_ContactsRowDeleted" msprop:Generator_UserTableName="Company_Contacts" msprop:Generator_RowChangedName="Company_ContactsRowChanged" msprop:Generator_RowEvArgName="Company_ContactsRowChangeEvent" msprop:Generator_RowClassName="Company_ContactsRow">
1812           <xs:complexType>
1813             <xs:sequence>
1814               <xs:element name=
"Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
1815               <xs:element name=
"ContactPerson" msprop:Generator_ColumnVarNameInTable="columnContactPerson" msprop:Generator_ColumnPropNameInRow="ContactPerson" msprop:Generator_ColumnPropNameInTable="ContactPersonColumn" msprop:Generator_UserColumnName="ContactPerson">
1816                 <xs:simpleType>
1817                   <xs:restriction
base="xs:string">
1818                     <xs:maxLength
value="150" />
1819                   </xs:restriction>
1820                 </xs:simpleType>
1821               </xs:element>
1822               <xs:element name=
"ContactNo" msprop:Generator_ColumnVarNameInTable="columnContactNo" msprop:Generator_ColumnPropNameInRow="ContactNo" msprop:Generator_ColumnPropNameInTable="ContactNoColumn" msprop:Generator_UserColumnName="ContactNo">
1823                 <xs:simpleType>
1824                   <xs:restriction
base="xs:string">
1825                     <xs:maxLength
value="150" />
1826                   </xs:restriction>
1827                 </xs:simpleType>
1828               </xs:element>
1829             </xs:sequence>
1830           </xs:complexType>
1831         </xs:element>
1832         <xs:element name=
"Customer" msprop:Generator_TableClassName="CustomerDataTable" msprop:Generator_TableVarName="tableCustomer" msprop:Generator_TablePropName="Customer" msprop:Generator_RowDeletingName="CustomerRowDeleting" msprop:Generator_RowChangingName="CustomerRowChanging" msprop:Generator_RowEvHandlerName="CustomerRowChangeEventHandler" msprop:Generator_RowDeletedName="CustomerRowDeleted" msprop:Generator_UserTableName="Customer" msprop:Generator_RowChangedName="CustomerRowChanged" msprop:Generator_RowEvArgName="CustomerRowChangeEvent" msprop:Generator_RowClassName="CustomerRow">
1833           <xs:complexType>
1834             <xs:sequence>
1835               <xs:element name=
"ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
1836               <xs:element name=
"CustomerID" msprop:Generator_ColumnVarNameInTable="columnCustomerID" msprop:Generator_ColumnPropNameInRow="CustomerID" msprop:Generator_ColumnPropNameInTable="CustomerIDColumn" msprop:Generator_UserColumnName="CustomerID">
1837                 <xs:simpleType>
1838                   <xs:restriction
base="xs:string">
1839                     <xs:maxLength
value="30" />
1840                   </xs:restriction>
1841                 </xs:simpleType>
1842               </xs:element>
1843               <xs:element name=
"Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name">
1844                 <xs:simpleType>
1845                   <xs:restriction
base="xs:string">
1846                     <xs:maxLength
value="200" />
1847                   </xs:restriction>
1848                 </xs:simpleType>
1849               </xs:element>
1850               <xs:element name=
"Gender" msprop:Generator_ColumnVarNameInTable="columnGender" msprop:Generator_ColumnPropNameInRow="Gender" msprop:Generator_ColumnPropNameInTable="GenderColumn" msprop:Generator_UserColumnName="Gender">
1851                 <xs:simpleType>
1852                   <xs:restriction
base="xs:string">
1853                     <xs:maxLength
value="10" />
1854                   </xs:restriction>
1855                 </xs:simpleType>
1856               </xs:element>
1857               <xs:element name=
"Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" msprop:Generator_UserColumnName="Address">
1858                 <xs:simpleType>
1859                   <xs:restriction
base="xs:string">
1860                     <xs:maxLength
value="250" />
1861                   </xs:restriction>
1862                 </xs:simpleType>
1863               </xs:element>
1864               <xs:element name=
"City" msprop:Generator_ColumnVarNameInTable="columnCity" msprop:Generator_ColumnPropNameInRow="City" msprop:Generator_ColumnPropNameInTable="CityColumn" msprop:Generator_UserColumnName="City">
1865                 <xs:simpleType>
1866                   <xs:restriction
base="xs:string">
1867                     <xs:maxLength
value="200" />
1868                   </xs:restriction>
1869                 </xs:simpleType>
1870               </xs:element>
1871               <xs:element name=
"State" msprop:Generator_ColumnVarNameInTable="columnState" msprop:Generator_ColumnPropNameInRow="State" msprop:Generator_ColumnPropNameInTable="StateColumn" msprop:Generator_UserColumnName="State">
1872                 <xs:simpleType>
1873                   <xs:restriction
base="xs:string">
1874                     <xs:maxLength
value="150" />
1875                   </xs:restriction>
1876                 </xs:simpleType>
1877               </xs:element>
1878               <xs:element name=
"ZipCode" msprop:Generator_ColumnVarNameInTable="columnZipCode" msprop:Generator_ColumnPropNameInRow="ZipCode" msprop:Generator_ColumnPropNameInTable="ZipCodeColumn" msprop:Generator_UserColumnName="ZipCode" minOccurs="0">
1879                 <xs:simpleType>
1880                   <xs:restriction
base="xs:string">
1881                     <xs:maxLength
value="15" />
1882                   </xs:restriction>
1883                 </xs:simpleType>
1884               </xs:element>
1885               <xs:element name=
"ContactNo" msprop:Generator_ColumnVarNameInTable="columnContactNo" msprop:Generator_ColumnPropNameInRow="ContactNo" msprop:Generator_ColumnPropNameInTable="ContactNoColumn" msprop:Generator_UserColumnName="ContactNo">
1886                 <xs:simpleType>
1887                   <xs:restriction
base="xs:string">
1888                     <xs:maxLength
value="150" />
1889                   </xs:restriction>
1890                 </xs:simpleType>
1891               </xs:element>
1892               <xs:element name=
"EmailID" msprop:Generator_ColumnVarNameInTable="columnEmailID" msprop:Generator_ColumnPropNameInRow="EmailID" msprop:Generator_ColumnPropNameInTable="EmailIDColumn" msprop:Generator_UserColumnName="EmailID" minOccurs="0">
1893                 <xs:simpleType>
1894                   <xs:restriction
base="xs:string">
1895                     <xs:maxLength
value="200" />
1896                   </xs:restriction>
1897                 </xs:simpleType>
1898               </xs:element>
1899               <xs:element name=
"Remarks" msprop:Generator_ColumnVarNameInTable="columnRemarks" msprop:Generator_ColumnPropNameInRow="Remarks" msprop:Generator_ColumnPropNameInTable="RemarksColumn" msprop:Generator_UserColumnName="Remarks" minOccurs="0">
1900                 <xs:simpleType>
1901                   <xs:restriction
base="xs:string">
1902                     <xs:maxLength
value="2147483647" />
1903                   </xs:restriction>
1904                 </xs:simpleType>
1905               </xs:element>
1906               <xs:element name=
"Photo" msprop:Generator_ColumnVarNameInTable="columnPhoto" msprop:Generator_ColumnPropNameInRow="Photo" msprop:Generator_ColumnPropNameInTable="PhotoColumn" msprop:Generator_UserColumnName="Photo" type="xs:base64Binary" />
1907             </xs:sequence>
1908           </xs:complexType>
1909         </xs:element>
1910         <xs:element name=
"Invoice_Payment" msprop:Generator_TableClassName="Invoice_PaymentDataTable" msprop:Generator_TableVarName="tableInvoice_Payment" msprop:Generator_TablePropName="Invoice_Payment" msprop:Generator_RowDeletingName="Invoice_PaymentRowDeleting" msprop:Generator_RowChangingName="Invoice_PaymentRowChanging" msprop:Generator_RowEvHandlerName="Invoice_PaymentRowChangeEventHandler" msprop:Generator_RowDeletedName="Invoice_PaymentRowDeleted" msprop:Generator_UserTableName="Invoice_Payment" msprop:Generator_RowChangedName="Invoice_PaymentRowChanged" msprop:Generator_RowEvArgName="Invoice_PaymentRowChangeEvent" msprop:Generator_RowClassName="Invoice_PaymentRow">
1911           <xs:complexType>
1912             <xs:sequence>
1913               <xs:element name=
"IP_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIP_ID" msprop:Generator_ColumnPropNameInRow="IP_ID" msprop:Generator_ColumnPropNameInTable="IP_IDColumn" msprop:Generator_UserColumnName="IP_ID" type="xs:int" />
1914               <xs:element name=
"InvoiceID" msprop:Generator_ColumnVarNameInTable="columnInvoiceID" msprop:Generator_ColumnPropNameInRow="InvoiceID" msprop:Generator_ColumnPropNameInTable="InvoiceIDColumn" msprop:Generator_UserColumnName="InvoiceID" type="xs:int" />
1915               <xs:element name=
"PaymentDate" msprop:Generator_ColumnVarNameInTable="columnPaymentDate" msprop:Generator_ColumnPropNameInRow="PaymentDate" msprop:Generator_ColumnPropNameInTable="PaymentDateColumn" msprop:Generator_UserColumnName="PaymentDate" type="xs:dateTime" />
1916               <xs:element name=
"TotalPaid" msprop:Generator_ColumnVarNameInTable="columnTotalPaid" msprop:Generator_ColumnPropNameInRow="TotalPaid" msprop:Generator_ColumnPropNameInTable="TotalPaidColumn" msprop:Generator_UserColumnName="TotalPaid" type="xs:decimal" />
1917               <xs:element name=
"PaymentMode" msprop:Generator_ColumnVarNameInTable="columnPaymentMode" msprop:Generator_ColumnPropNameInRow="PaymentMode" msprop:Generator_ColumnPropNameInTable="PaymentModeColumn" msprop:Generator_UserColumnName="PaymentMode">
1918                 <xs:simpleType>
1919                   <xs:restriction
base="xs:string">
1920                     <xs:maxLength
value="150" />
1921                   </xs:restriction>
1922                 </xs:simpleType>
1923               </xs:element>
1924             </xs:sequence>
1925           </xs:complexType>
1926         </xs:element>
1927         <xs:element name=
"Invoice_Product" msprop:Generator_TableClassName="Invoice_ProductDataTable" msprop:Generator_TableVarName="tableInvoice_Product" msprop:Generator_TablePropName="Invoice_Product" msprop:Generator_RowDeletingName="Invoice_ProductRowDeleting" msprop:Generator_RowChangingName="Invoice_ProductRowChanging" msprop:Generator_RowEvHandlerName="Invoice_ProductRowChangeEventHandler" msprop:Generator_RowDeletedName="Invoice_ProductRowDeleted" msprop:Generator_UserTableName="Invoice_Product" msprop:Generator_RowChangedName="Invoice_ProductRowChanged" msprop:Generator_RowEvArgName="Invoice_ProductRowChangeEvent" msprop:Generator_RowClassName="Invoice_ProductRow">
1928           <xs:complexType>
1929             <xs:sequence>
1930               <xs:element name=
"IPo_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIPo_ID" msprop:Generator_ColumnPropNameInRow="IPo_ID" msprop:Generator_ColumnPropNameInTable="IPo_IDColumn" msprop:Generator_UserColumnName="IPo_ID" type="xs:int" />
1931               <xs:element name=
"InvoiceID" msprop:Generator_ColumnVarNameInTable="columnInvoiceID" msprop:Generator_ColumnPropNameInRow="InvoiceID" msprop:Generator_ColumnPropNameInTable="InvoiceIDColumn" msprop:Generator_UserColumnName="InvoiceID" type="xs:int" />
1932               <xs:element name=
"ProductID" msprop:Generator_ColumnVarNameInTable="columnProductID" msprop:Generator_ColumnPropNameInRow="ProductID" msprop:Generator_ColumnPropNameInTable="ProductIDColumn" msprop:Generator_UserColumnName="ProductID" type="xs:int" />
1933               <xs:element name=
"CostPrice" msprop:Generator_ColumnVarNameInTable="columnCostPrice" msprop:Generator_ColumnPropNameInRow="CostPrice" msprop:Generator_ColumnPropNameInTable="CostPriceColumn" msprop:Generator_UserColumnName="CostPrice" type="xs:decimal" />
1934               <xs:element name=
"SellingPrice" msprop:Generator_ColumnVarNameInTable="columnSellingPrice" msprop:Generator_ColumnPropNameInRow="SellingPrice" msprop:Generator_ColumnPropNameInTable="SellingPriceColumn" msprop:Generator_UserColumnName="SellingPrice" type="xs:decimal" />
1935               <xs:element name=
"Margin" msprop:Generator_ColumnVarNameInTable="columnMargin" msprop:Generator_ColumnPropNameInRow="Margin" msprop:Generator_ColumnPropNameInTable="MarginColumn" msprop:Generator_UserColumnName="Margin" type="xs:decimal" />
1936               <xs:element name=
"Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" />
1937               <xs:element name=
"Amount" msprop:Generator_ColumnVarNameInTable="columnAmount" msprop:Generator_ColumnPropNameInRow="Amount" msprop:Generator_ColumnPropNameInTable="AmountColumn" msprop:Generator_UserColumnName="Amount" type="xs:decimal" />
1938               <xs:element name=
"DiscountPer" msprop:Generator_ColumnVarNameInTable="columnDiscountPer" msprop:Generator_ColumnPropNameInRow="DiscountPer" msprop:Generator_ColumnPropNameInTable="DiscountPerColumn" msprop:Generator_UserColumnName="DiscountPer" type="xs:decimal" />
1939               <xs:element name=
"Discount" msprop:Generator_ColumnVarNameInTable="columnDiscount" msprop:Generator_ColumnPropNameInRow="Discount" msprop:Generator_ColumnPropNameInTable="DiscountColumn" msprop:Generator_UserColumnName="Discount" type="xs:decimal" />
1940               <xs:element name=
"VATPer" msprop:Generator_ColumnVarNameInTable="columnVATPer" msprop:Generator_ColumnPropNameInRow="VATPer" msprop:Generator_ColumnPropNameInTable="VATPerColumn" msprop:Generator_UserColumnName="VATPer" type="xs:decimal" />
1941               <xs:element name=
"VAT" msprop:Generator_ColumnVarNameInTable="columnVAT" msprop:Generator_ColumnPropNameInRow="VAT" msprop:Generator_ColumnPropNameInTable="VATColumn" msprop:Generator_UserColumnName="VAT" type="xs:decimal" />
1942               <xs:element name=
"TotalAmount" msprop:Generator_ColumnVarNameInTable="columnTotalAmount" msprop:Generator_ColumnPropNameInRow="TotalAmount" msprop:Generator_ColumnPropNameInTable="TotalAmountColumn" msprop:Generator_UserColumnName="TotalAmount" type="xs:decimal" />
1943             </xs:sequence>
1944           </xs:complexType>
1945         </xs:element>
1946         <xs:element name=
"Invoice1_Payment" msprop:Generator_TableClassName="Invoice1_PaymentDataTable" msprop:Generator_TableVarName="tableInvoice1_Payment" msprop:Generator_TablePropName="Invoice1_Payment" msprop:Generator_RowDeletingName="Invoice1_PaymentRowDeleting" msprop:Generator_RowChangingName="Invoice1_PaymentRowChanging" msprop:Generator_RowEvHandlerName="Invoice1_PaymentRowChangeEventHandler" msprop:Generator_RowDeletedName="Invoice1_PaymentRowDeleted" msprop:Generator_UserTableName="Invoice1_Payment" msprop:Generator_RowChangedName="Invoice1_PaymentRowChanged" msprop:Generator_RowEvArgName="Invoice1_PaymentRowChangeEvent" msprop:Generator_RowClassName="Invoice1_PaymentRow">
1947           <xs:complexType>
1948             <xs:sequence>
1949               <xs:element name=
"IP_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIP_ID" msprop:Generator_ColumnPropNameInRow="IP_ID" msprop:Generator_ColumnPropNameInTable="IP_IDColumn" msprop:Generator_UserColumnName="IP_ID" type="xs:int" />
1950               <xs:element name=
"InvoiceID" msprop:Generator_ColumnVarNameInTable="columnInvoiceID" msprop:Generator_ColumnPropNameInRow="InvoiceID" msprop:Generator_ColumnPropNameInTable="InvoiceIDColumn" msprop:Generator_UserColumnName="InvoiceID" type="xs:int" />
1951               <xs:element name=
"PaymentDate" msprop:Generator_ColumnVarNameInTable="columnPaymentDate" msprop:Generator_ColumnPropNameInRow="PaymentDate" msprop:Generator_ColumnPropNameInTable="PaymentDateColumn" msprop:Generator_UserColumnName="PaymentDate" type="xs:dateTime" />
1952               <xs:element name=
"TotalPaid" msprop:Generator_ColumnVarNameInTable="columnTotalPaid" msprop:Generator_ColumnPropNameInRow="TotalPaid" msprop:Generator_ColumnPropNameInTable="TotalPaidColumn" msprop:Generator_UserColumnName="TotalPaid" type="xs:decimal" />
1953               <xs:element name=
"PaymentMode" msprop:Generator_ColumnVarNameInTable="columnPaymentMode" msprop:Generator_ColumnPropNameInRow="PaymentMode" msprop:Generator_ColumnPropNameInTable="PaymentModeColumn" msprop:Generator_UserColumnName="PaymentMode">
1954                 <xs:simpleType>
1955                   <xs:restriction
base="xs:string">
1956                     <xs:maxLength
value="150" />
1957                   </xs:restriction>
1958                 </xs:simpleType>
1959               </xs:element>
1960             </xs:sequence>
1961           </xs:complexType>
1962         </xs:element>
1963         <xs:element name=
"Invoice1_Product" msprop:Generator_TableClassName="Invoice1_ProductDataTable" msprop:Generator_TableVarName="tableInvoice1_Product" msprop:Generator_TablePropName="Invoice1_Product" msprop:Generator_RowDeletingName="Invoice1_ProductRowDeleting" msprop:Generator_RowChangingName="Invoice1_ProductRowChanging" msprop:Generator_RowEvHandlerName="Invoice1_ProductRowChangeEventHandler" msprop:Generator_RowDeletedName="Invoice1_ProductRowDeleted" msprop:Generator_UserTableName="Invoice1_Product" msprop:Generator_RowChangedName="Invoice1_ProductRowChanged" msprop:Generator_RowEvArgName="Invoice1_ProductRowChangeEvent" msprop:Generator_RowClassName="Invoice1_ProductRow">
1964           <xs:complexType>
1965             <xs:sequence>
1966               <xs:element name=
"Ipo_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIpo_ID" msprop:Generator_ColumnPropNameInRow="Ipo_ID" msprop:Generator_ColumnPropNameInTable="Ipo_IDColumn" msprop:Generator_UserColumnName="Ipo_ID" type="xs:int" />
1967               <xs:element name=
"InvoiceID" msprop:Generator_ColumnVarNameInTable="columnInvoiceID" msprop:Generator_ColumnPropNameInRow="InvoiceID" msprop:Generator_ColumnPropNameInTable="InvoiceIDColumn" msprop:Generator_UserColumnName="InvoiceID" type="xs:int" />
1968               <xs:element name=
"ProductID" msprop:Generator_ColumnVarNameInTable="columnProductID" msprop:Generator_ColumnPropNameInRow="ProductID" msprop:Generator_ColumnPropNameInTable="ProductIDColumn" msprop:Generator_UserColumnName="ProductID" type="xs:int" />
1969               <xs:element name=
"CostPrice" msprop:Generator_ColumnVarNameInTable="columnCostPrice" msprop:Generator_ColumnPropNameInRow="CostPrice" msprop:Generator_ColumnPropNameInTable="CostPriceColumn" msprop:Generator_UserColumnName="CostPrice" type="xs:decimal" />
1970               <xs:element name=
"SellingPrice" msprop:Generator_ColumnVarNameInTable="columnSellingPrice" msprop:Generator_ColumnPropNameInRow="SellingPrice" msprop:Generator_ColumnPropNameInTable="SellingPriceColumn" msprop:Generator_UserColumnName="SellingPrice" type="xs:decimal" />
1971               <xs:element name=
"Margin" msprop:Generator_ColumnVarNameInTable="columnMargin" msprop:Generator_ColumnPropNameInRow="Margin" msprop:Generator_ColumnPropNameInTable="MarginColumn" msprop:Generator_UserColumnName="Margin" type="xs:decimal" />
1972               <xs:element name=
"Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" />
1973               <xs:element name=
"Amount" msprop:Generator_ColumnVarNameInTable="columnAmount" msprop:Generator_ColumnPropNameInRow="Amount" msprop:Generator_ColumnPropNameInTable="AmountColumn" msprop:Generator_UserColumnName="Amount" type="xs:decimal" />
1974               <xs:element name=
"DiscountPer" msprop:Generator_ColumnVarNameInTable="columnDiscountPer" msprop:Generator_ColumnPropNameInRow="DiscountPer" msprop:Generator_ColumnPropNameInTable="DiscountPerColumn" msprop:Generator_UserColumnName="DiscountPer" type="xs:decimal" />
1975               <xs:element name=
"Discount" msprop:Generator_ColumnVarNameInTable="columnDiscount" msprop:Generator_ColumnPropNameInRow="Discount" msprop:Generator_ColumnPropNameInTable="DiscountColumn" msprop:Generator_UserColumnName="Discount" type="xs:decimal" />
1976               <xs:element name=
"VATPer" msprop:Generator_ColumnVarNameInTable="columnVATPer" msprop:Generator_ColumnPropNameInRow="VATPer" msprop:Generator_ColumnPropNameInTable="VATPerColumn" msprop:Generator_UserColumnName="VATPer" type="xs:decimal" />
1977               <xs:element name=
"VAT" msprop:Generator_ColumnVarNameInTable="columnVAT" msprop:Generator_ColumnPropNameInRow="VAT" msprop:Generator_ColumnPropNameInTable="VATColumn" msprop:Generator_UserColumnName="VAT" type="xs:decimal" />
1978               <xs:element name=
"TotalAmount" msprop:Generator_ColumnVarNameInTable="columnTotalAmount" msprop:Generator_ColumnPropNameInRow="TotalAmount" msprop:Generator_ColumnPropNameInTable="TotalAmountColumn" msprop:Generator_UserColumnName="TotalAmount" type="xs:decimal" />
1979             </xs:sequence>
1980           </xs:complexType>
1981         </xs:element>
1982         <xs:element name=
"InvoiceInfo" msprop:Generator_TableClassName="InvoiceInfoDataTable" msprop:Generator_TableVarName="tableInvoiceInfo" msprop:Generator_TablePropName="InvoiceInfo" msprop:Generator_RowDeletingName="InvoiceInfoRowDeleting" msprop:Generator_RowChangingName="InvoiceInfoRowChanging" msprop:Generator_RowEvHandlerName="InvoiceInfoRowChangeEventHandler" msprop:Generator_RowDeletedName="InvoiceInfoRowDeleted" msprop:Generator_UserTableName="InvoiceInfo" msprop:Generator_RowChangedName="InvoiceInfoRowChanged" msprop:Generator_RowEvArgName="InvoiceInfoRowChangeEvent" msprop:Generator_RowClassName="InvoiceInfoRow">
1983           <xs:complexType>
1984             <xs:sequence>
1985               <xs:element name=
"Inv_ID" msprop:Generator_ColumnVarNameInTable="columnInv_ID" msprop:Generator_ColumnPropNameInRow="Inv_ID" msprop:Generator_ColumnPropNameInTable="Inv_IDColumn" msprop:Generator_UserColumnName="Inv_ID" type="xs:int" />
1986               <xs:element name=
"InvoiceNo" msprop:Generator_ColumnVarNameInTable="columnInvoiceNo" msprop:Generator_ColumnPropNameInRow="InvoiceNo" msprop:Generator_ColumnPropNameInTable="InvoiceNoColumn" msprop:Generator_UserColumnName="InvoiceNo">
1987                 <xs:simpleType>
1988                   <xs:restriction
base="xs:string">
1989                     <xs:maxLength
value="30" />
1990                   </xs:restriction>
1991                 </xs:simpleType>
1992               </xs:element>
1993               <xs:element name=
"InvoiceDate" msprop:Generator_ColumnVarNameInTable="columnInvoiceDate" msprop:Generator_ColumnPropNameInRow="InvoiceDate" msprop:Generator_ColumnPropNameInTable="InvoiceDateColumn" msprop:Generator_UserColumnName="InvoiceDate" type="xs:dateTime" />
1994               <xs:element name=
"CustomerID" msprop:Generator_ColumnVarNameInTable="columnCustomerID" msprop:Generator_ColumnPropNameInRow="CustomerID" msprop:Generator_ColumnPropNameInTable="CustomerIDColumn" msprop:Generator_UserColumnName="CustomerID" type="xs:int" />
1995               <xs:element name=
"GrandTotal" msprop:Generator_ColumnVarNameInTable="columnGrandTotal" msprop:Generator_ColumnPropNameInRow="GrandTotal" msprop:Generator_ColumnPropNameInTable="GrandTotalColumn" msprop:Generator_UserColumnName="GrandTotal" type="xs:decimal" />
1996               <xs:element name=
"TotalPaid" msprop:Generator_ColumnVarNameInTable="columnTotalPaid" msprop:Generator_ColumnPropNameInRow="TotalPaid" msprop:Generator_ColumnPropNameInTable="TotalPaidColumn" msprop:Generator_UserColumnName="TotalPaid" type="xs:decimal" />
1997               <xs:element name=
"Balance" msprop:Generator_ColumnVarNameInTable="columnBalance" msprop:Generator_ColumnPropNameInRow="Balance" msprop:Generator_ColumnPropNameInTable="BalanceColumn" msprop:Generator_UserColumnName="Balance" type="xs:decimal" />
1998               <xs:element name=
"Remarks" msprop:Generator_ColumnVarNameInTable="columnRemarks" msprop:Generator_ColumnPropNameInRow="Remarks" msprop:Generator_ColumnPropNameInTable="RemarksColumn" msprop:Generator_UserColumnName="Remarks" minOccurs="0">
1999                 <xs:simpleType>
2000                   <xs:restriction
base="xs:string">
2001                     <xs:maxLength
value="2147483647" />
2002                   </xs:restriction>
2003                 </xs:simpleType>
2004               </xs:element>
2005             </xs:sequence>
2006           </xs:complexType>
2007         </xs:element>
2008         <xs:element name=
"InvoiceInfo1" msprop:Generator_TableClassName="InvoiceInfo1DataTable" msprop:Generator_TableVarName="tableInvoiceInfo1" msprop:Generator_TablePropName="InvoiceInfo1" msprop:Generator_RowDeletingName="InvoiceInfo1RowDeleting" msprop:Generator_RowChangingName="InvoiceInfo1RowChanging" msprop:Generator_RowEvHandlerName="InvoiceInfo1RowChangeEventHandler" msprop:Generator_RowDeletedName="InvoiceInfo1RowDeleted" msprop:Generator_UserTableName="InvoiceInfo1" msprop:Generator_RowChangedName="InvoiceInfo1RowChanged" msprop:Generator_RowEvArgName="InvoiceInfo1RowChangeEvent" msprop:Generator_RowClassName="InvoiceInfo1Row">
2009           <xs:complexType>
2010             <xs:sequence>
2011               <xs:element name=
"Inv_ID" msprop:Generator_ColumnVarNameInTable="columnInv_ID" msprop:Generator_ColumnPropNameInRow="Inv_ID" msprop:Generator_ColumnPropNameInTable="Inv_IDColumn" msprop:Generator_UserColumnName="Inv_ID" type="xs:int" />
2012               <xs:element name=
"InvoiceNo" msprop:Generator_ColumnVarNameInTable="columnInvoiceNo" msprop:Generator_ColumnPropNameInRow="InvoiceNo" msprop:Generator_ColumnPropNameInTable="InvoiceNoColumn" msprop:Generator_UserColumnName="InvoiceNo">
2013                 <xs:simpleType>
2014                   <xs:restriction
base="xs:string">
2015                     <xs:maxLength
value="30" />
2016                   </xs:restriction>
2017                 </xs:simpleType>
2018               </xs:element>
2019               <xs:element name=
"InvoiceDate" msprop:Generator_ColumnVarNameInTable="columnInvoiceDate" msprop:Generator_ColumnPropNameInRow="InvoiceDate" msprop:Generator_ColumnPropNameInTable="InvoiceDateColumn" msprop:Generator_UserColumnName="InvoiceDate" type="xs:dateTime" />
2020               <xs:element name=
"ServiceID" msprop:Generator_ColumnVarNameInTable="columnServiceID" msprop:Generator_ColumnPropNameInRow="ServiceID" msprop:Generator_ColumnPropNameInTable="ServiceIDColumn" msprop:Generator_UserColumnName="ServiceID" type="xs:int" />
2021               <xs:element name=
"RepairCharges" msprop:Generator_ColumnVarNameInTable="columnRepairCharges" msprop:Generator_ColumnPropNameInRow="RepairCharges" msprop:Generator_ColumnPropNameInTable="RepairChargesColumn" msprop:Generator_UserColumnName="RepairCharges" type="xs:decimal" />
2022               <xs:element name=
"Upfront" msprop:Generator_ColumnVarNameInTable="columnUpfront" msprop:Generator_ColumnPropNameInRow="Upfront" msprop:Generator_ColumnPropNameInTable="UpfrontColumn" msprop:Generator_UserColumnName="Upfront" type="xs:decimal" />
2023               <xs:element name=
"ProductCharges" msprop:Generator_ColumnVarNameInTable="columnProductCharges" msprop:Generator_ColumnPropNameInRow="ProductCharges" msprop:Generator_ColumnPropNameInTable="ProductChargesColumn" msprop:Generator_UserColumnName="ProductCharges" type="xs:decimal" />
2024               <xs:element name=
"ServiceTaxPer" msprop:Generator_ColumnVarNameInTable="columnServiceTaxPer" msprop:Generator_ColumnPropNameInRow="ServiceTaxPer" msprop:Generator_ColumnPropNameInTable="ServiceTaxPerColumn" msprop:Generator_UserColumnName="ServiceTaxPer" type="xs:decimal" />
2025               <xs:element name=
"ServiceTax" msprop:Generator_ColumnVarNameInTable="columnServiceTax" msprop:Generator_ColumnPropNameInRow="ServiceTax" msprop:Generator_ColumnPropNameInTable="ServiceTaxColumn" msprop:Generator_UserColumnName="ServiceTax" type="xs:decimal" />
2026               <xs:element name=
"GrandTotal" msprop:Generator_ColumnVarNameInTable="columnGrandTotal" msprop:Generator_ColumnPropNameInRow="GrandTotal" msprop:Generator_ColumnPropNameInTable="GrandTotalColumn" msprop:Generator_UserColumnName="GrandTotal" type="xs:decimal" />
2027               <xs:element name=
"TotalPaid" msprop:Generator_ColumnVarNameInTable="columnTotalPaid" msprop:Generator_ColumnPropNameInRow="TotalPaid" msprop:Generator_ColumnPropNameInTable="TotalPaidColumn" msprop:Generator_UserColumnName="TotalPaid" type="xs:decimal" />
2028               <xs:element name=
"Balance" msprop:Generator_ColumnVarNameInTable="columnBalance" msprop:Generator_ColumnPropNameInRow="Balance" msprop:Generator_ColumnPropNameInTable="BalanceColumn" msprop:Generator_UserColumnName="Balance" type="xs:decimal" />
2029               <xs:element name=
"Remarks" msprop:Generator_ColumnVarNameInTable="columnRemarks" msprop:Generator_ColumnPropNameInRow="Remarks" msprop:Generator_ColumnPropNameInTable="RemarksColumn" msprop:Generator_UserColumnName="Remarks" minOccurs="0">
2030                 <xs:simpleType>
2031                   <xs:restriction
base="xs:string">
2032                     <xs:maxLength
value="2147483647" />
2033                   </xs:restriction>
2034                 </xs:simpleType>
2035               </xs:element>
2036             </xs:sequence>
2037           </xs:complexType>
2038         </xs:element>
2039         <xs:element name=
"Logs" msprop:Generator_TableClassName="LogsDataTable" msprop:Generator_TableVarName="tableLogs" msprop:Generator_TablePropName="Logs" msprop:Generator_RowDeletingName="LogsRowDeleting" msprop:Generator_RowChangingName="LogsRowChanging" msprop:Generator_RowEvHandlerName="LogsRowChangeEventHandler" msprop:Generator_RowDeletedName="LogsRowDeleted" msprop:Generator_UserTableName="Logs" msprop:Generator_RowChangedName="LogsRowChanged" msprop:Generator_RowEvArgName="LogsRowChangeEvent" msprop:Generator_RowClassName="LogsRow">
2040           <xs:complexType>
2041             <xs:sequence>
2042               <xs:element name=
"ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
2043               <xs:element name=
"UserID" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn" msprop:Generator_UserColumnName="UserID">
2044                 <xs:simpleType>
2045                   <xs:restriction
base="xs:string">
2046                     <xs:maxLength
value="100" />
2047                   </xs:restriction>
2048                 </xs:simpleType>
2049               </xs:element>
2050               <xs:element name=
"Operation" msprop:Generator_ColumnVarNameInTable="columnOperation" msprop:Generator_ColumnPropNameInRow="Operation" msprop:Generator_ColumnPropNameInTable="OperationColumn" msprop:Generator_UserColumnName="Operation">
2051                 <xs:simpleType>
2052                   <xs:restriction
base="xs:string">
2053                     <xs:maxLength
value="2147483647" />
2054                   </xs:restriction>
2055                 </xs:simpleType>
2056               </xs:element>
2057               <xs:element name=
"Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="_Date" msprop:Generator_ColumnPropNameInTable="DateColumn" msprop:Generator_UserColumnName="Date" type="xs:dateTime" />
2058             </xs:sequence>
2059           </xs:complexType>
2060         </xs:element>
2061         <xs:element name=
"Product" msprop:Generator_TableClassName="ProductDataTable" msprop:Generator_TableVarName="tableProduct" msprop:Generator_TablePropName="Product" msprop:Generator_RowDeletingName="ProductRowDeleting" msprop:Generator_RowChangingName="ProductRowChanging" msprop:Generator_RowEvHandlerName="ProductRowChangeEventHandler" msprop:Generator_RowDeletedName="ProductRowDeleted" msprop:Generator_UserTableName="Product" msprop:Generator_RowChangedName="ProductRowChanged" msprop:Generator_RowEvArgName="ProductRowChangeEvent" msprop:Generator_RowClassName="ProductRow">
2062           <xs:complexType>
2063             <xs:sequence>
2064               <xs:element name=
"PID" msprop:Generator_ColumnVarNameInTable="columnPID" msprop:Generator_ColumnPropNameInRow="PID" msprop:Generator_ColumnPropNameInTable="PIDColumn" msprop:Generator_UserColumnName="PID" type="xs:int" />
2065               <xs:element name=
"ProductCode" msprop:Generator_ColumnVarNameInTable="columnProductCode" msprop:Generator_ColumnPropNameInRow="ProductCode" msprop:Generator_ColumnPropNameInTable="ProductCodeColumn" msprop:Generator_UserColumnName="ProductCode">
2066                 <xs:simpleType>
2067                   <xs:restriction
base="xs:string">
2068                     <xs:maxLength
value="30" />
2069                   </xs:restriction>
2070                 </xs:simpleType>
2071               </xs:element>
2072               <xs:element name=
"ProductName" msprop:Generator_ColumnVarNameInTable="columnProductName" msprop:Generator_ColumnPropNameInRow="ProductName" msprop:Generator_ColumnPropNameInTable="ProductNameColumn" msprop:Generator_UserColumnName="ProductName">
2073                 <xs:simpleType>
2074                   <xs:restriction
base="xs:string">
2075                     <xs:maxLength
value="200" />
2076                   </xs:restriction>
2077                 </xs:simpleType>
2078               </xs:element>
2079               <xs:element name=
"SubCategoryID" msprop:Generator_ColumnVarNameInTable="columnSubCategoryID" msprop:Generator_ColumnPropNameInRow="SubCategoryID" msprop:Generator_ColumnPropNameInTable="SubCategoryIDColumn" msprop:Generator_UserColumnName="SubCategoryID" type="xs:int" />
2080               <xs:element name=
"Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" minOccurs="0">
2081                 <xs:simpleType>
2082                   <xs:restriction
base="xs:string">
2083                     <xs:maxLength
value="2147483647" />
2084                   </xs:restriction>
2085                 </xs:simpleType>
2086               </xs:element>
2087               <xs:element name=
"CostPrice" msprop:Generator_ColumnVarNameInTable="columnCostPrice" msprop:Generator_ColumnPropNameInRow="CostPrice" msprop:Generator_ColumnPropNameInTable="CostPriceColumn" msprop:Generator_UserColumnName="CostPrice" type="xs:decimal" />
2088               <xs:element name=
"SellingPrice" msprop:Generator_ColumnVarNameInTable="columnSellingPrice" msprop:Generator_ColumnPropNameInRow="SellingPrice" msprop:Generator_ColumnPropNameInTable="SellingPriceColumn" msprop:Generator_UserColumnName="SellingPrice" type="xs:decimal" />
2089               <xs:element name=
"Discount" msprop:Generator_ColumnVarNameInTable="columnDiscount" msprop:Generator_ColumnPropNameInRow="Discount" msprop:Generator_ColumnPropNameInTable="DiscountColumn" msprop:Generator_UserColumnName="Discount" type="xs:decimal" />
2090               <xs:element name=
"VAT" msprop:Generator_ColumnVarNameInTable="columnVAT" msprop:Generator_ColumnPropNameInRow="VAT" msprop:Generator_ColumnPropNameInTable="VATColumn" msprop:Generator_UserColumnName="VAT" type="xs:decimal" />
2091               <xs:element name=
"ReorderPoint" msprop:Generator_ColumnVarNameInTable="columnReorderPoint" msprop:Generator_ColumnPropNameInRow="ReorderPoint" msprop:Generator_ColumnPropNameInTable="ReorderPointColumn" msprop:Generator_UserColumnName="ReorderPoint" type="xs:int" />
2092             </xs:sequence>
2093           </xs:complexType>
2094         </xs:element>
2095         <xs:element name=
"Product_Join" msprop:Generator_TableClassName="Product_JoinDataTable" msprop:Generator_TableVarName="tableProduct_Join" msprop:Generator_TablePropName="Product_Join" msprop:Generator_RowDeletingName="Product_JoinRowDeleting" msprop:Generator_RowChangingName="Product_JoinRowChanging" msprop:Generator_RowEvHandlerName="Product_JoinRowChangeEventHandler" msprop:Generator_RowDeletedName="Product_JoinRowDeleted" msprop:Generator_UserTableName="Product_Join" msprop:Generator_RowChangedName="Product_JoinRowChanged" msprop:Generator_RowEvArgName="Product_JoinRowChangeEvent" msprop:Generator_RowClassName="Product_JoinRow">
2096           <xs:complexType>
2097             <xs:sequence>
2098               <xs:element name=
"Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
2099               <xs:element name=
"ProductID" msprop:Generator_ColumnVarNameInTable="columnProductID" msprop:Generator_ColumnPropNameInRow="ProductID" msprop:Generator_ColumnPropNameInTable="ProductIDColumn" msprop:Generator_UserColumnName="ProductID" type="xs:int" />
2100               <xs:element name=
"Photo" msprop:Generator_ColumnVarNameInTable="columnPhoto" msprop:Generator_ColumnPropNameInRow="Photo" msprop:Generator_ColumnPropNameInTable="PhotoColumn" msprop:Generator_UserColumnName="Photo" type="xs:base64Binary" />
2101             </xs:sequence>
2102           </xs:complexType>
2103         </xs:element>
2104         <xs:element name=
"Quotation" msprop:Generator_TableClassName="QuotationDataTable" msprop:Generator_TableVarName="tableQuotation" msprop:Generator_TablePropName="Quotation" msprop:Generator_RowDeletingName="QuotationRowDeleting" msprop:Generator_RowChangingName="QuotationRowChanging" msprop:Generator_RowEvHandlerName="QuotationRowChangeEventHandler" msprop:Generator_RowDeletedName="QuotationRowDeleted" msprop:Generator_UserTableName="Quotation" msprop:Generator_RowChangedName="QuotationRowChanged" msprop:Generator_RowEvArgName="QuotationRowChangeEvent" msprop:Generator_RowClassName="QuotationRow">
2105           <xs:complexType>
2106             <xs:sequence>
2107               <xs:element name=
"Q_ID" msprop:Generator_ColumnVarNameInTable="columnQ_ID" msprop:Generator_ColumnPropNameInRow="Q_ID" msprop:Generator_ColumnPropNameInTable="Q_IDColumn" msprop:Generator_UserColumnName="Q_ID" type="xs:int" />
2108               <xs:element name=
"QuotationNo" msprop:Generator_ColumnVarNameInTable="columnQuotationNo" msprop:Generator_ColumnPropNameInRow="QuotationNo" msprop:Generator_ColumnPropNameInTable="QuotationNoColumn" msprop:Generator_UserColumnName="QuotationNo">
2109                 <xs:simpleType>
2110                   <xs:restriction
base="xs:string">
2111                     <xs:maxLength
value="30" />
2112                   </xs:restriction>
2113                 </xs:simpleType>
2114               </xs:element>
2115               <xs:element name=
"Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="_Date" msprop:Generator_ColumnPropNameInTable="DateColumn" msprop:Generator_UserColumnName="Date" type="xs:dateTime" />
2116               <xs:element name=
"CustomerID" msprop:Generator_ColumnVarNameInTable="columnCustomerID" msprop:Generator_ColumnPropNameInRow="CustomerID" msprop:Generator_ColumnPropNameInTable="CustomerIDColumn" msprop:Generator_UserColumnName="CustomerID" type="xs:int" />
2117               <xs:element name=
"GrandTotal" msprop:Generator_ColumnVarNameInTable="columnGrandTotal" msprop:Generator_ColumnPropNameInRow="GrandTotal" msprop:Generator_ColumnPropNameInTable="GrandTotalColumn" msprop:Generator_UserColumnName="GrandTotal" type="xs:decimal" />
2118               <xs:element name=
"Remarks" msprop:Generator_ColumnVarNameInTable="columnRemarks" msprop:Generator_ColumnPropNameInRow="Remarks" msprop:Generator_ColumnPropNameInTable="RemarksColumn" msprop:Generator_UserColumnName="Remarks" minOccurs="0">
2119                 <xs:simpleType>
2120                   <xs:restriction
base="xs:string">
2121                     <xs:maxLength
value="2147483647" />
2122                   </xs:restriction>
2123                 </xs:simpleType>
2124               </xs:element>
2125             </xs:sequence>
2126           </xs:complexType>
2127         </xs:element>
2128         <xs:element name=
"Quotation_Join" msprop:Generator_TableClassName="Quotation_JoinDataTable" msprop:Generator_TableVarName="tableQuotation_Join" msprop:Generator_TablePropName="Quotation_Join" msprop:Generator_RowDeletingName="Quotation_JoinRowDeleting" msprop:Generator_RowChangingName="Quotation_JoinRowChanging" msprop:Generator_RowEvHandlerName="Quotation_JoinRowChangeEventHandler" msprop:Generator_RowDeletedName="Quotation_JoinRowDeleted" msprop:Generator_UserTableName="Quotation_Join" msprop:Generator_RowChangedName="Quotation_JoinRowChanged" msprop:Generator_RowEvArgName="Quotation_JoinRowChangeEvent" msprop:Generator_RowClassName="Quotation_JoinRow">
2129           <xs:complexType>
2130             <xs:sequence>
2131               <xs:element name=
"QJ_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnQJ_ID" msprop:Generator_ColumnPropNameInRow="QJ_ID" msprop:Generator_ColumnPropNameInTable="QJ_IDColumn" msprop:Generator_UserColumnName="QJ_ID" type="xs:int" />
2132               <xs:element name=
"QuotationID" msprop:Generator_ColumnVarNameInTable="columnQuotationID" msprop:Generator_ColumnPropNameInRow="QuotationID" msprop:Generator_ColumnPropNameInTable="QuotationIDColumn" msprop:Generator_UserColumnName="QuotationID" type="xs:int" />
2133               <xs:element name=
"ProductID" msprop:Generator_ColumnVarNameInTable="columnProductID" msprop:Generator_ColumnPropNameInRow="ProductID" msprop:Generator_ColumnPropNameInTable="ProductIDColumn" msprop:Generator_UserColumnName="ProductID" type="xs:int" />
2134               <xs:element name=
"Cost" msprop:Generator_ColumnVarNameInTable="columnCost" msprop:Generator_ColumnPropNameInRow="Cost" msprop:Generator_ColumnPropNameInTable="CostColumn" msprop:Generator_UserColumnName="Cost" type="xs:decimal" />
2135               <xs:element name=
"Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" />
2136               <xs:element name=
"Amount" msprop:Generator_ColumnVarNameInTable="columnAmount" msprop:Generator_ColumnPropNameInRow="Amount" msprop:Generator_ColumnPropNameInTable="AmountColumn" msprop:Generator_UserColumnName="Amount" type="xs:decimal" />
2137               <xs:element name=
"DiscountPer" msprop:Generator_ColumnVarNameInTable="columnDiscountPer" msprop:Generator_ColumnPropNameInRow="DiscountPer" msprop:Generator_ColumnPropNameInTable="DiscountPerColumn" msprop:Generator_UserColumnName="DiscountPer" type="xs:decimal" />
2138               <xs:element name=
"Discount" msprop:Generator_ColumnVarNameInTable="columnDiscount" msprop:Generator_ColumnPropNameInRow="Discount" msprop:Generator_ColumnPropNameInTable="DiscountColumn" msprop:Generator_UserColumnName="Discount" type="xs:decimal" />
2139               <xs:element name=
"VATPer" msprop:Generator_ColumnVarNameInTable="columnVATPer" msprop:Generator_ColumnPropNameInRow="VATPer" msprop:Generator_ColumnPropNameInTable="VATPerColumn" msprop:Generator_UserColumnName="VATPer" type="xs:decimal" />
2140               <xs:element name=
"VAT" msprop:Generator_ColumnVarNameInTable="columnVAT" msprop:Generator_ColumnPropNameInRow="VAT" msprop:Generator_ColumnPropNameInTable="VATColumn" msprop:Generator_UserColumnName="VAT" type="xs:decimal" />
2141               <xs:element name=
"TotalAmount" msprop:Generator_ColumnVarNameInTable="columnTotalAmount" msprop:Generator_ColumnPropNameInRow="TotalAmount" msprop:Generator_ColumnPropNameInTable="TotalAmountColumn" msprop:Generator_UserColumnName="TotalAmount" type="xs:decimal" />
2142             </xs:sequence>
2143           </xs:complexType>
2144         </xs:element>
2145         <xs:element name=
"Registration" msprop:Generator_TableClassName="RegistrationDataTable" msprop:Generator_TableVarName="tableRegistration" msprop:Generator_TablePropName="Registration" msprop:Generator_RowDeletingName="RegistrationRowDeleting" msprop:Generator_RowChangingName="RegistrationRowChanging" msprop:Generator_RowEvHandlerName="RegistrationRowChangeEventHandler" msprop:Generator_RowDeletedName="RegistrationRowDeleted" msprop:Generator_UserTableName="Registration" msprop:Generator_RowChangedName="RegistrationRowChanged" msprop:Generator_RowEvArgName="RegistrationRowChangeEvent" msprop:Generator_RowClassName="RegistrationRow">
2146           <xs:complexType>
2147             <xs:sequence>
2148               <xs:element name=
"UserID" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn" msprop:Generator_UserColumnName="UserID">
2149                 <xs:simpleType>
2150                   <xs:restriction
base="xs:string">
2151                     <xs:maxLength
value="100" />
2152                   </xs:restriction>
2153                 </xs:simpleType>
2154               </xs:element>
2155               <xs:element name=
"UserType" msprop:Generator_ColumnVarNameInTable="columnUserType" msprop:Generator_ColumnPropNameInRow="UserType" msprop:Generator_ColumnPropNameInTable="UserTypeColumn" msprop:Generator_UserColumnName="UserType">
2156                 <xs:simpleType>
2157                   <xs:restriction
base="xs:string">
2158                     <xs:maxLength
value="150" />
2159                   </xs:restriction>
2160                 </xs:simpleType>
2161               </xs:element>
2162               <xs:element name=
"Password" msprop:Generator_ColumnVarNameInTable="columnPassword" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnPropNameInTable="PasswordColumn" msprop:Generator_UserColumnName="Password">
2163                 <xs:simpleType>
2164                   <xs:restriction
base="xs:string">
2165                     <xs:maxLength
value="100" />
2166                   </xs:restriction>
2167                 </xs:simpleType>
2168               </xs:element>
2169               <xs:element name=
"Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name">
2170                 <xs:simpleType>
2171                   <xs:restriction
base="xs:string">
2172                     <xs:maxLength
value="200" />
2173                   </xs:restriction>
2174                 </xs:simpleType>
2175               </xs:element>
2176               <xs:element name=
"ContactNo" msprop:Generator_ColumnVarNameInTable="columnContactNo" msprop:Generator_ColumnPropNameInRow="ContactNo" msprop:Generator_ColumnPropNameInTable="ContactNoColumn" msprop:Generator_UserColumnName="ContactNo">
2177                 <xs:simpleType>
2178                   <xs:restriction
base="xs:string">
2179                     <xs:maxLength
value="150" />
2180                   </xs:restriction>
2181                 </xs:simpleType>
2182               </xs:element>
2183               <xs:element name=
"EmailID" msprop:Generator_ColumnVarNameInTable="columnEmailID" msprop:Generator_ColumnPropNameInRow="EmailID" msprop:Generator_ColumnPropNameInTable="EmailIDColumn" msprop:Generator_UserColumnName="EmailID" minOccurs="0">
2184                 <xs:simpleType>
2185                   <xs:restriction
base="xs:string">
2186                     <xs:maxLength
value="200" />
2187                   </xs:restriction>
2188                 </xs:simpleType>
2189               </xs:element>
2190               <xs:element name=
"JoiningDate" msprop:Generator_ColumnVarNameInTable="columnJoiningDate" msprop:Generator_ColumnPropNameInRow="JoiningDate" msprop:Generator_ColumnPropNameInTable="JoiningDateColumn" msprop:Generator_UserColumnName="JoiningDate" type="xs:dateTime" minOccurs="0" />
2191             </xs:sequence>
2192           </xs:complexType>
2193         </xs:element>
2194         <xs:element name=
"Service" msprop:Generator_TableClassName="ServiceDataTable" msprop:Generator_TableVarName="tableService" msprop:Generator_TablePropName="Service" msprop:Generator_RowDeletingName="ServiceRowDeleting" msprop:Generator_RowChangingName="ServiceRowChanging" msprop:Generator_RowEvHandlerName="ServiceRowChangeEventHandler" msprop:Generator_RowDeletedName="ServiceRowDeleted" msprop:Generator_UserTableName="Service" msprop:Generator_RowChangedName="ServiceRowChanged" msprop:Generator_RowEvArgName="ServiceRowChangeEvent" msprop:Generator_RowClassName="ServiceRow">
2195           <xs:complexType>
2196             <xs:sequence>
2197               <xs:element name=
"S_ID" msprop:Generator_ColumnVarNameInTable="columnS_ID" msprop:Generator_ColumnPropNameInRow="S_ID" msprop:Generator_ColumnPropNameInTable="S_IDColumn" msprop:Generator_UserColumnName="S_ID" type="xs:int" />
2198               <xs:element name=
"ServiceCode" msprop:Generator_ColumnVarNameInTable="columnServiceCode" msprop:Generator_ColumnPropNameInRow="ServiceCode" msprop:Generator_ColumnPropNameInTable="ServiceCodeColumn" msprop:Generator_UserColumnName="ServiceCode">
2199                 <xs:simpleType>
2200                   <xs:restriction
base="xs:string">
2201                     <xs:maxLength
value="30" />
2202                   </xs:restriction>
2203                 </xs:simpleType>
2204               </xs:element>
2205               <xs:element name=
"CustomerID" msprop:Generator_ColumnVarNameInTable="columnCustomerID" msprop:Generator_ColumnPropNameInRow="CustomerID" msprop:Generator_ColumnPropNameInTable="CustomerIDColumn" msprop:Generator_UserColumnName="CustomerID" type="xs:int" />
2206               <xs:element name=
"ServiceType" msprop:Generator_ColumnVarNameInTable="columnServiceType" msprop:Generator_ColumnPropNameInRow="ServiceType" msprop:Generator_ColumnPropNameInTable="ServiceTypeColumn" msprop:Generator_UserColumnName="ServiceType" minOccurs="0">
2207                 <xs:simpleType>
2208                   <xs:restriction
base="xs:string">
2209                     <xs:maxLength
value="150" />
2210                   </xs:restriction>
2211                 </xs:simpleType>
2212               </xs:element>
2213               <xs:element name=
"ServiceCreationDate" msprop:Generator_ColumnVarNameInTable="columnServiceCreationDate" msprop:Generator_ColumnPropNameInRow="ServiceCreationDate" msprop:Generator_ColumnPropNameInTable="ServiceCreationDateColumn" msprop:Generator_UserColumnName="ServiceCreationDate" type="xs:dateTime" />
2214               <xs:element name=
"ItemDescription" msprop:Generator_ColumnVarNameInTable="columnItemDescription" msprop:Generator_ColumnPropNameInRow="ItemDescription" msprop:Generator_ColumnPropNameInTable="ItemDescriptionColumn" msprop:Generator_UserColumnName="ItemDescription">
2215                 <xs:simpleType>
2216                   <xs:restriction
base="xs:string">
2217                     <xs:maxLength
value="2147483647" />
2218                   </xs:restriction>
2219                 </xs:simpleType>
2220               </xs:element>
2221               <xs:element name=
"ProblemDescription" msprop:Generator_ColumnVarNameInTable="columnProblemDescription" msprop:Generator_ColumnPropNameInRow="ProblemDescription" msprop:Generator_ColumnPropNameInTable="ProblemDescriptionColumn" msprop:Generator_UserColumnName="ProblemDescription" minOccurs="0">
2222                 <xs:simpleType>
2223                   <xs:restriction
base="xs:string">
2224                     <xs:maxLength
value="2147483647" />
2225                   </xs:restriction>
2226                 </xs:simpleType>
2227               </xs:element>
2228               <xs:element name=
"ChargesQuote" msprop:Generator_ColumnVarNameInTable="columnChargesQuote" msprop:Generator_ColumnPropNameInRow="ChargesQuote" msprop:Generator_ColumnPropNameInTable="ChargesQuoteColumn" msprop:Generator_UserColumnName="ChargesQuote" type="xs:decimal" />
2229               <xs:element name=
"AdvanceDeposit" msprop:Generator_ColumnVarNameInTable="columnAdvanceDeposit" msprop:Generator_ColumnPropNameInRow="AdvanceDeposit" msprop:Generator_ColumnPropNameInTable="AdvanceDepositColumn" msprop:Generator_UserColumnName="AdvanceDeposit" type="xs:decimal" />
2230               <xs:element name=
"EstimatedRepairDate" msprop:Generator_ColumnVarNameInTable="columnEstimatedRepairDate" msprop:Generator_ColumnPropNameInRow="EstimatedRepairDate" msprop:Generator_ColumnPropNameInTable="EstimatedRepairDateColumn" msprop:Generator_UserColumnName="EstimatedRepairDate" type="xs:dateTime" />
2231               <xs:element name=
"Remarks" msprop:Generator_ColumnVarNameInTable="columnRemarks" msprop:Generator_ColumnPropNameInRow="Remarks" msprop:Generator_ColumnPropNameInTable="RemarksColumn" msprop:Generator_UserColumnName="Remarks" minOccurs="0">
2232                 <xs:simpleType>
2233                   <xs:restriction
base="xs:string">
2234                     <xs:maxLength
value="2147483647" />
2235                   </xs:restriction>
2236                 </xs:simpleType>
2237               </xs:element>
2238               <xs:element name=
"Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" msprop:Generator_UserColumnName="Status">
2239                 <xs:simpleType>
2240                   <xs:restriction
base="xs:string">
2241                     <xs:maxLength
value="30" />
2242                   </xs:restriction>
2243                 </xs:simpleType>
2244               </xs:element>
2245             </xs:sequence>
2246           </xs:complexType>
2247         </xs:element>
2248         <xs:element name=
"Stock" msprop:Generator_TableClassName="StockDataTable" msprop:Generator_TableVarName="tableStock" msprop:Generator_TablePropName="Stock" msprop:Generator_RowDeletingName="StockRowDeleting" msprop:Generator_RowChangingName="StockRowChanging" msprop:Generator_RowEvHandlerName="StockRowChangeEventHandler" msprop:Generator_RowDeletedName="StockRowDeleted" msprop:Generator_UserTableName="Stock" msprop:Generator_RowChangedName="StockRowChanged" msprop:Generator_RowEvArgName="StockRowChangeEvent" msprop:Generator_RowClassName="StockRow">
2249           <xs:complexType>
2250             <xs:sequence>
2251               <xs:element name=
"ST_ID" msprop:Generator_ColumnVarNameInTable="columnST_ID" msprop:Generator_ColumnPropNameInRow="ST_ID" msprop:Generator_ColumnPropNameInTable="ST_IDColumn" msprop:Generator_UserColumnName="ST_ID" type="xs:int" />
2252               <xs:element name=
"Stock_ID" msprop:Generator_ColumnVarNameInTable="columnStock_ID" msprop:Generator_ColumnPropNameInRow="Stock_ID" msprop:Generator_ColumnPropNameInTable="Stock_IDColumn" msprop:Generator_UserColumnName="Stock_ID">
2253                 <xs:simpleType>
2254                   <xs:restriction
base="xs:string">
2255                     <xs:maxLength
value="30" />
2256                   </xs:restriction>
2257                 </xs:simpleType>
2258               </xs:element>
2259               <xs:element name=
"Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="_Date" msprop:Generator_ColumnPropNameInTable="DateColumn" msprop:Generator_UserColumnName="Date" type="xs:dateTime" />
2260               <xs:element name=
"SupplierID" msprop:Generator_ColumnVarNameInTable="columnSupplierID" msprop:Generator_ColumnPropNameInRow="SupplierID" msprop:Generator_ColumnPropNameInTable="SupplierIDColumn" msprop:Generator_UserColumnName="SupplierID" type="xs:int" />
2261               <xs:element name=
"GrandTotal" msprop:Generator_ColumnVarNameInTable="columnGrandTotal" msprop:Generator_ColumnPropNameInRow="GrandTotal" msprop:Generator_ColumnPropNameInTable="GrandTotalColumn" msprop:Generator_UserColumnName="GrandTotal" type="xs:decimal" />
2262               <xs:element name=
"TotalPayment" msprop:Generator_ColumnVarNameInTable="columnTotalPayment" msprop:Generator_ColumnPropNameInRow="TotalPayment" msprop:Generator_ColumnPropNameInTable="TotalPaymentColumn" msprop:Generator_UserColumnName="TotalPayment" type="xs:decimal" />
2263               <xs:element name=
"PaymentDue" msprop:Generator_ColumnVarNameInTable="columnPaymentDue" msprop:Generator_ColumnPropNameInRow="PaymentDue" msprop:Generator_ColumnPropNameInTable="PaymentDueColumn" msprop:Generator_UserColumnName="PaymentDue" type="xs:decimal" />
2264               <xs:element name=
"Remarks" msprop:Generator_ColumnVarNameInTable="columnRemarks" msprop:Generator_ColumnPropNameInRow="Remarks" msprop:Generator_ColumnPropNameInTable="RemarksColumn" msprop:Generator_UserColumnName="Remarks" minOccurs="0">
2265                 <xs:simpleType>
2266                   <xs:restriction
base="xs:string">
2267                     <xs:maxLength
value="2147483647" />
2268                   </xs:restriction>
2269                 </xs:simpleType>
2270               </xs:element>
2271             </xs:sequence>
2272           </xs:complexType>
2273         </xs:element>
2274         <xs:element name=
"Stock_Product" msprop:Generator_TableClassName="Stock_ProductDataTable" msprop:Generator_TableVarName="tableStock_Product" msprop:Generator_TablePropName="Stock_Product" msprop:Generator_RowDeletingName="Stock_ProductRowDeleting" msprop:Generator_RowChangingName="Stock_ProductRowChanging" msprop:Generator_RowEvHandlerName="Stock_ProductRowChangeEventHandler" msprop:Generator_RowDeletedName="Stock_ProductRowDeleted" msprop:Generator_UserTableName="Stock_Product" msprop:Generator_RowChangedName="Stock_ProductRowChanged" msprop:Generator_RowEvArgName="Stock_ProductRowChangeEvent" msprop:Generator_RowClassName="Stock_ProductRow">
2275           <xs:complexType>
2276             <xs:sequence>
2277               <xs:element name=
"SP_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnSP_ID" msprop:Generator_ColumnPropNameInRow="SP_ID" msprop:Generator_ColumnPropNameInTable="SP_IDColumn" msprop:Generator_UserColumnName="SP_ID" type="xs:int" />
2278               <xs:element name=
"StockID" msprop:Generator_ColumnVarNameInTable="columnStockID" msprop:Generator_ColumnPropNameInRow="StockID" msprop:Generator_ColumnPropNameInTable="StockIDColumn" msprop:Generator_UserColumnName="StockID" type="xs:int" />
2279               <xs:element name=
"ProductID" msprop:Generator_ColumnVarNameInTable="columnProductID" msprop:Generator_ColumnPropNameInRow="ProductID" msprop:Generator_ColumnPropNameInTable="ProductIDColumn" msprop:Generator_UserColumnName="ProductID" type="xs:int" />
2280               <xs:element name=
"Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" />
2281               <xs:element name=
"Price" msprop:Generator_ColumnVarNameInTable="columnPrice" msprop:Generator_ColumnPropNameInRow="Price" msprop:Generator_ColumnPropNameInTable="PriceColumn" msprop:Generator_UserColumnName="Price" type="xs:decimal" />
2282               <xs:element name=
"TotalAmount" msprop:Generator_ColumnVarNameInTable="columnTotalAmount" msprop:Generator_ColumnPropNameInRow="TotalAmount" msprop:Generator_ColumnPropNameInTable="TotalAmountColumn" msprop:Generator_UserColumnName="TotalAmount" type="xs:decimal" />
2283             </xs:sequence>
2284           </xs:complexType>
2285         </xs:element>
2286         <xs:element name=
"SubCategory" msprop:Generator_TableClassName="SubCategoryDataTable" msprop:Generator_TableVarName="tableSubCategory" msprop:Generator_TablePropName="SubCategory" msprop:Generator_RowDeletingName="SubCategoryRowDeleting" msprop:Generator_RowChangingName="SubCategoryRowChanging" msprop:Generator_RowEvHandlerName="SubCategoryRowChangeEventHandler" msprop:Generator_RowDeletedName="SubCategoryRowDeleted" msprop:Generator_UserTableName="SubCategory" msprop:Generator_RowChangedName="SubCategoryRowChanged" msprop:Generator_RowEvArgName="SubCategoryRowChangeEvent" msprop:Generator_RowClassName="SubCategoryRow">
2287           <xs:complexType>
2288             <xs:sequence>
2289               <xs:element name=
"ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
2290               <xs:element name=
"SubCategoryName" msprop:Generator_ColumnVarNameInTable="columnSubCategoryName" msprop:Generator_ColumnPropNameInRow="SubCategoryName" msprop:Generator_ColumnPropNameInTable="SubCategoryNameColumn" msprop:Generator_UserColumnName="SubCategoryName">
2291                 <xs:simpleType>
2292                   <xs:restriction
base="xs:string">
2293                     <xs:maxLength
value="150" />
2294                   </xs:restriction>
2295                 </xs:simpleType>
2296               </xs:element>
2297               <xs:element name=
"Category" msprop:Generator_ColumnVarNameInTable="columnCategory" msprop:Generator_ColumnPropNameInRow="Category" msprop:Generator_ColumnPropNameInTable="CategoryColumn" msprop:Generator_UserColumnName="Category">
2298                 <xs:simpleType>
2299                   <xs:restriction
base="xs:string">
2300                     <xs:maxLength
value="150" />
2301                   </xs:restriction>
2302                 </xs:simpleType>
2303               </xs:element>
2304             </xs:sequence>
2305           </xs:complexType>
2306         </xs:element>
2307         <xs:element name=
"Supplier" msprop:Generator_TableClassName="SupplierDataTable" msprop:Generator_TableVarName="tableSupplier" msprop:Generator_TablePropName="Supplier" msprop:Generator_RowDeletingName="SupplierRowDeleting" msprop:Generator_RowChangingName="SupplierRowChanging" msprop:Generator_RowEvHandlerName="SupplierRowChangeEventHandler" msprop:Generator_RowDeletedName="SupplierRowDeleted" msprop:Generator_UserTableName="Supplier" msprop:Generator_RowChangedName="SupplierRowChanged" msprop:Generator_RowEvArgName="SupplierRowChangeEvent" msprop:Generator_RowClassName="SupplierRow">
2308           <xs:complexType>
2309             <xs:sequence>
2310               <xs:element name=
"ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
2311               <xs:element name=
"SupplierID" msprop:Generator_ColumnVarNameInTable="columnSupplierID" msprop:Generator_ColumnPropNameInRow="SupplierID" msprop:Generator_ColumnPropNameInTable="SupplierIDColumn" msprop:Generator_UserColumnName="SupplierID">
2312                 <xs:simpleType>
2313                   <xs:restriction
base="xs:string">
2314                     <xs:maxLength
value="30" />
2315                   </xs:restriction>
2316                 </xs:simpleType>
2317               </xs:element>
2318               <xs:element name=
"Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name">
2319                 <xs:simpleType>
2320                   <xs:restriction
base="xs:string">
2321                     <xs:maxLength
value="200" />
2322                   </xs:restriction>
2323                 </xs:simpleType>
2324               </xs:element>
2325               <xs:element name=
"Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" msprop:Generator_UserColumnName="Address">
2326                 <xs:simpleType>
2327                   <xs:restriction
base="xs:string">
2328                     <xs:maxLength
value="250" />
2329                   </xs:restriction>
2330                 </xs:simpleType>
2331               </xs:element>
2332               <xs:element name=
"City" msprop:Generator_ColumnVarNameInTable="columnCity" msprop:Generator_ColumnPropNameInRow="City" msprop:Generator_ColumnPropNameInTable="CityColumn" msprop:Generator_UserColumnName="City">
2333                 <xs:simpleType>
2334                   <xs:restriction
base="xs:string">
2335                     <xs:maxLength
value="200" />
2336                   </xs:restriction>
2337                 </xs:simpleType>
2338               </xs:element>
2339               <xs:element name=
"State" msprop:Generator_ColumnVarNameInTable="columnState" msprop:Generator_ColumnPropNameInRow="State" msprop:Generator_ColumnPropNameInTable="StateColumn" msprop:Generator_UserColumnName="State">
2340                 <xs:simpleType>
2341                   <xs:restriction
base="xs:string">
2342                     <xs:maxLength
value="150" />
2343                   </xs:restriction>
2344                 </xs:simpleType>
2345               </xs:element>
2346               <xs:element name=
"ZipCode" msprop:Generator_ColumnVarNameInTable="columnZipCode" msprop:Generator_ColumnPropNameInRow="ZipCode" msprop:Generator_ColumnPropNameInTable="ZipCodeColumn" msprop:Generator_UserColumnName="ZipCode" minOccurs="0">
2347                 <xs:simpleType>
2348                   <xs:restriction
base="xs:string">
2349                     <xs:maxLength
value="15" />
2350                   </xs:restriction>
2351                 </xs:simpleType>
2352               </xs:element>
2353               <xs:element name=
"ContactNo" msprop:Generator_ColumnVarNameInTable="columnContactNo" msprop:Generator_ColumnPropNameInRow="ContactNo" msprop:Generator_ColumnPropNameInTable="ContactNoColumn" msprop:Generator_UserColumnName="ContactNo">
2354                 <xs:simpleType>
2355                   <xs:restriction
base="xs:string">
2356                     <xs:maxLength
value="150" />
2357                   </xs:restriction>
2358                 </xs:simpleType>
2359               </xs:element>
2360               <xs:element name=
"EmailID" msprop:Generator_ColumnVarNameInTable="columnEmailID" msprop:Generator_ColumnPropNameInRow="EmailID" msprop:Generator_ColumnPropNameInTable="EmailIDColumn" msprop:Generator_UserColumnName="EmailID" minOccurs="0">
2361                 <xs:simpleType>
2362                   <xs:restriction
base="xs:string">
2363                     <xs:maxLength
value="200" />
2364                   </xs:restriction>
2365                 </xs:simpleType>
2366               </xs:element>
2367               <xs:element name=
"Remarks" msprop:Generator_ColumnVarNameInTable="columnRemarks" msprop:Generator_ColumnPropNameInRow="Remarks" msprop:Generator_ColumnPropNameInTable="RemarksColumn" msprop:Generator_UserColumnName="Remarks" minOccurs="0">
2368                 <xs:simpleType>
2369                   <xs:restriction
base="xs:string">
2370                     <xs:maxLength
value="2147483647" />
2371                   </xs:restriction>
2372                 </xs:simpleType>
2373               </xs:element>
2374             </xs:sequence>
2375           </xs:complexType>
2376         </xs:element>
2377         <xs:element name=
"Temp_Stock" msprop:Generator_TableClassName="Temp_StockDataTable" msprop:Generator_TableVarName="tableTemp_Stock" msprop:Generator_TablePropName="Temp_Stock" msprop:Generator_RowDeletingName="Temp_StockRowDeleting" msprop:Generator_RowChangingName="Temp_StockRowChanging" msprop:Generator_RowEvHandlerName="Temp_StockRowChangeEventHandler" msprop:Generator_RowDeletedName="Temp_StockRowDeleted" msprop:Generator_UserTableName="Temp_Stock" msprop:Generator_RowChangedName="Temp_StockRowChanged" msprop:Generator_RowEvArgName="Temp_StockRowChangeEvent" msprop:Generator_RowClassName="Temp_StockRow">
2378           <xs:complexType>
2379             <xs:sequence>
2380               <xs:element name=
"ProductID" msprop:Generator_ColumnVarNameInTable="columnProductID" msprop:Generator_ColumnPropNameInRow="ProductID" msprop:Generator_ColumnPropNameInTable="ProductIDColumn" msprop:Generator_UserColumnName="ProductID" type="xs:int" />
2381               <xs:element name=
"Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" />
2382             </xs:sequence>
2383           </xs:complexType>
2384         </xs:element>
2385       </xs:choice>
2386     </xs:complexType>
2387     <xs:unique name=
"Constraint1" msdata:PrimaryKey="true">
2388       <xs:selector xpath=
".//mstns:Activation" />
2389       <xs:field xpath=
"mstns:ID" />
2390     </xs:unique>
2391     <xs:unique name=
"Category_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2392       <xs:selector xpath=
".//mstns:Category" />
2393       <xs:field xpath=
"mstns:CategoryName" />
2394     </xs:unique>
2395     <xs:unique name=
"Company_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2396       <xs:selector xpath=
".//mstns:Company" />
2397       <xs:field xpath=
"mstns:ID" />
2398     </xs:unique>
2399     <xs:unique name=
"Company_Contacts_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2400       <xs:selector xpath=
".//mstns:Company_Contacts" />
2401       <xs:field xpath=
"mstns:Id" />
2402     </xs:unique>
2403     <xs:unique name=
"Customer_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2404       <xs:selector xpath=
".//mstns:Customer" />
2405       <xs:field xpath=
"mstns:ID" />
2406     </xs:unique>
2407     <xs:unique name=
"Invoice_Payment_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2408       <xs:selector xpath=
".//mstns:Invoice_Payment" />
2409       <xs:field xpath=
"mstns:IP_ID" />
2410     </xs:unique>
2411     <xs:unique name=
"Invoice_Product_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2412       <xs:selector xpath=
".//mstns:Invoice_Product" />
2413       <xs:field xpath=
"mstns:IPo_ID" />
2414     </xs:unique>
2415     <xs:unique name=
"Invoice1_Payment_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2416       <xs:selector xpath=
".//mstns:Invoice1_Payment" />
2417       <xs:field xpath=
"mstns:IP_ID" />
2418     </xs:unique>
2419     <xs:unique name=
"Invoice1_Product_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2420       <xs:selector xpath=
".//mstns:Invoice1_Product" />
2421       <xs:field xpath=
"mstns:Ipo_ID" />
2422     </xs:unique>
2423     <xs:unique name=
"InvoiceInfo_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2424       <xs:selector xpath=
".//mstns:InvoiceInfo" />
2425       <xs:field xpath=
"mstns:Inv_ID" />
2426     </xs:unique>
2427     <xs:unique name=
"InvoiceInfo1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2428       <xs:selector xpath=
".//mstns:InvoiceInfo1" />
2429       <xs:field xpath=
"mstns:Inv_ID" />
2430     </xs:unique>
2431     <xs:unique name=
"Logs_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2432       <xs:selector xpath=
".//mstns:Logs" />
2433       <xs:field xpath=
"mstns:ID" />
2434     </xs:unique>
2435     <xs:unique name=
"Product_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2436       <xs:selector xpath=
".//mstns:Product" />
2437       <xs:field xpath=
"mstns:PID" />
2438     </xs:unique>
2439     <xs:unique name=
"Product_Join_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2440       <xs:selector xpath=
".//mstns:Product_Join" />
2441       <xs:field xpath=
"mstns:Id" />
2442     </xs:unique>
2443     <xs:unique name=
"Quotation_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2444       <xs:selector xpath=
".//mstns:Quotation" />
2445       <xs:field xpath=
"mstns:Q_ID" />
2446     </xs:unique>
2447     <xs:unique name=
"Quotation_Join_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2448       <xs:selector xpath=
".//mstns:Quotation_Join" />
2449       <xs:field xpath=
"mstns:QJ_ID" />
2450     </xs:unique>
2451     <xs:unique name=
"Registration_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2452       <xs:selector xpath=
".//mstns:Registration" />
2453       <xs:field xpath=
"mstns:UserID" />
2454     </xs:unique>
2455     <xs:unique name=
"Service_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2456       <xs:selector xpath=
".//mstns:Service" />
2457       <xs:field xpath=
"mstns:S_ID" />
2458     </xs:unique>
2459     <xs:unique name=
"Stock_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2460       <xs:selector xpath=
".//mstns:Stock" />
2461       <xs:field xpath=
"mstns:ST_ID" />
2462     </xs:unique>
2463     <xs:unique name=
"Stock_Product_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2464       <xs:selector xpath=
".//mstns:Stock_Product" />
2465       <xs:field xpath=
"mstns:SP_ID" />
2466     </xs:unique>
2467     <xs:unique name=
"SubCategory_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2468       <xs:selector xpath=
".//mstns:SubCategory" />
2469       <xs:field xpath=
"mstns:ID" />
2470     </xs:unique>
2471     <xs:unique name=
"Supplier_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2472       <xs:selector xpath=
".//mstns:Supplier" />
2473       <xs:field xpath=
"mstns:ID" />
2474     </xs:unique>
2475     <xs:unique name=
"Temp_Stock_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2476       <xs:selector xpath=
".//mstns:Temp_Stock" />
2477       <xs:field xpath=
"mstns:ProductID" />
2478     </xs:unique>
2479   </xs:element>
2480   <xs:annotation>
2481     <xs:appinfo>
2482       <msdata:Relationship name=
"FK_Invoice_Payment_InvoiceInfo" msdata:parent="InvoiceInfo" msdata:child="Invoice_Payment" msdata:parentkey="Inv_ID" msdata:childkey="InvoiceID" msprop:Generator_UserChildTable="Invoice_Payment" msprop:Generator_ChildPropName="GetInvoice_PaymentRows" msprop:Generator_UserRelationName="FK_Invoice_Payment_InvoiceInfo" msprop:Generator_RelationVarName="relationFK_Invoice_Payment_InvoiceInfo" msprop:Generator_UserParentTable="InvoiceInfo" msprop:Generator_ParentPropName="InvoiceInfoRow" />
2483       <msdata:Relationship name=
"FK_Invoice_Product_InvoiceInfo" msdata:parent="InvoiceInfo" msdata:child="Invoice_Product" msdata:parentkey="Inv_ID" msdata:childkey="InvoiceID" msprop:Generator_UserChildTable="Invoice_Product" msprop:Generator_ChildPropName="GetInvoice_ProductRows" msprop:Generator_UserRelationName="FK_Invoice_Product_InvoiceInfo" msprop:Generator_RelationVarName="relationFK_Invoice_Product_InvoiceInfo" msprop:Generator_UserParentTable="InvoiceInfo" msprop:Generator_ParentPropName="InvoiceInfoRow" />
2484       <msdata:Relationship name=
"FK_Invoice_Product_Product" msdata:parent="Product" msdata:child="Invoice_Product" msdata:parentkey="PID" msdata:childkey="ProductID" msprop:Generator_UserChildTable="Invoice_Product" msprop:Generator_ChildPropName="GetInvoice_ProductRows" msprop:Generator_UserRelationName="FK_Invoice_Product_Product" msprop:Generator_RelationVarName="relationFK_Invoice_Product_Product" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" />
2485       <msdata:Relationship name=
"FK_Invoice1_Payment_InvoiceInfo1" msdata:parent="InvoiceInfo1" msdata:child="Invoice1_Payment" msdata:parentkey="Inv_ID" msdata:childkey="InvoiceID" msprop:Generator_UserChildTable="Invoice1_Payment" msprop:Generator_ChildPropName="GetInvoice1_PaymentRows" msprop:Generator_UserRelationName="FK_Invoice1_Payment_InvoiceInfo1" msprop:Generator_RelationVarName="relationFK_Invoice1_Payment_InvoiceInfo1" msprop:Generator_UserParentTable="InvoiceInfo1" msprop:Generator_ParentPropName="InvoiceInfo1Row" />
2486       <msdata:Relationship name=
"FK_Invoice1_Product_InvoiceInfo1" msdata:parent="InvoiceInfo1" msdata:child="Invoice1_Product" msdata:parentkey="Inv_ID" msdata:childkey="InvoiceID" msprop:Generator_UserChildTable="Invoice1_Product" msprop:Generator_ChildPropName="GetInvoice1_ProductRows" msprop:Generator_UserRelationName="FK_Invoice1_Product_InvoiceInfo1" msprop:Generator_RelationVarName="relationFK_Invoice1_Product_InvoiceInfo1" msprop:Generator_UserParentTable="InvoiceInfo1" msprop:Generator_ParentPropName="InvoiceInfo1Row" />
2487       <msdata:Relationship name=
"FK_Invoice1_Product_Product" msdata:parent="Product" msdata:child="Invoice1_Product" msdata:parentkey="PID" msdata:childkey="ProductID" msprop:Generator_UserChildTable="Invoice1_Product" msprop:Generator_ChildPropName="GetInvoice1_ProductRows" msprop:Generator_UserRelationName="FK_Invoice1_Product_Product" msprop:Generator_RelationVarName="relationFK_Invoice1_Product_Product" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" />
2488       <msdata:Relationship name=
"FK_InvoiceInfo_Customer" msdata:parent="Customer" msdata:child="InvoiceInfo" msdata:parentkey="ID" msdata:childkey="CustomerID" msprop:Generator_UserChildTable="InvoiceInfo" msprop:Generator_ChildPropName="GetInvoiceInfoRows" msprop:Generator_UserRelationName="FK_InvoiceInfo_Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_RelationVarName="relationFK_InvoiceInfo_Customer" msprop:Generator_UserParentTable="Customer" />
2489       <msdata:Relationship name=
"FK_InvoiceInfo1_Service" msdata:parent="Service" msdata:child="InvoiceInfo1" msdata:parentkey="S_ID" msdata:childkey="ServiceID" msprop:Generator_UserChildTable="InvoiceInfo1" msprop:Generator_ChildPropName="GetInvoiceInfo1Rows" msprop:Generator_UserRelationName="FK_InvoiceInfo1_Service" msprop:Generator_RelationVarName="relationFK_InvoiceInfo1_Service" msprop:Generator_UserParentTable="Service" msprop:Generator_ParentPropName="ServiceRow" />
2490       <msdata:Relationship name=
"FK_Logs_Registration" msdata:parent="Registration" msdata:child="Logs" msdata:parentkey="UserID" msdata:childkey="UserID" msprop:Generator_UserChildTable="Logs" msprop:Generator_ChildPropName="GetLogsRows" msprop:Generator_UserRelationName="FK_Logs_Registration" msprop:Generator_RelationVarName="relationFK_Logs_Registration" msprop:Generator_UserParentTable="Registration" msprop:Generator_ParentPropName="RegistrationRow" />
2491       <msdata:Relationship name=
"FK_Product_SubCategory" msdata:parent="SubCategory" msdata:child="Product" msdata:parentkey="ID" msdata:childkey="SubCategoryID" msprop:Generator_UserChildTable="Product" msprop:Generator_ChildPropName="GetProductRows" msprop:Generator_UserRelationName="FK_Product_SubCategory" msprop:Generator_RelationVarName="relationFK_Product_SubCategory" msprop:Generator_UserParentTable="SubCategory" msprop:Generator_ParentPropName="SubCategoryRow" />
2492       <msdata:Relationship name=
"FK_Product_Join_Product" msdata:parent="Product" msdata:child="Product_Join" msdata:parentkey="PID" msdata:childkey="ProductID" msprop:Generator_UserChildTable="Product_Join" msprop:Generator_ChildPropName="GetProduct_JoinRows" msprop:Generator_UserRelationName="FK_Product_Join_Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_RelationVarName="relationFK_Product_Join_Product" msprop:Generator_UserParentTable="Product" />
2493       <msdata:Relationship name=
"FK_Quotation_Customer" msdata:parent="Customer" msdata:child="Quotation" msdata:parentkey="ID" msdata:childkey="CustomerID" msprop:Generator_UserChildTable="Quotation" msprop:Generator_ChildPropName="GetQuotationRows" msprop:Generator_UserRelationName="FK_Quotation_Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_RelationVarName="relationFK_Quotation_Customer" msprop:Generator_UserParentTable="Customer" />
2494       <msdata:Relationship name=
"FK_Quotation_Join_Product" msdata:parent="Product" msdata:child="Quotation_Join" msdata:parentkey="PID" msdata:childkey="ProductID" msprop:Generator_UserChildTable="Quotation_Join" msprop:Generator_ChildPropName="GetQuotation_JoinRows" msprop:Generator_UserRelationName="FK_Quotation_Join_Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_RelationVarName="relationFK_Quotation_Join_Product" msprop:Generator_UserParentTable="Product" />
2495       <msdata:Relationship name=
"FK_Quotation_Join_Quotation" msdata:parent="Quotation" msdata:child="Quotation_Join" msdata:parentkey="Q_ID" msdata:childkey="QuotationID" msprop:Generator_UserChildTable="Quotation_Join" msprop:Generator_ChildPropName="GetQuotation_JoinRows" msprop:Generator_UserRelationName="FK_Quotation_Join_Quotation" msprop:Generator_ParentPropName="QuotationRow" msprop:Generator_RelationVarName="relationFK_Quotation_Join_Quotation" msprop:Generator_UserParentTable="Quotation" />
2496       <msdata:Relationship name=
"FK_Service_Customer" msdata:parent="Customer" msdata:child="Service" msdata:parentkey="ID" msdata:childkey="CustomerID" msprop:Generator_UserChildTable="Service" msprop:Generator_ChildPropName="GetServiceRows" msprop:Generator_UserRelationName="FK_Service_Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_RelationVarName="relationFK_Service_Customer" msprop:Generator_UserParentTable="Customer" />
2497       <msdata:Relationship name=
"FK_Stock_Supplier" msdata:parent="Supplier" msdata:child="Stock" msdata:parentkey="ID" msdata:childkey="SupplierID" msprop:Generator_UserChildTable="Stock" msprop:Generator_ChildPropName="GetStockRows" msprop:Generator_UserRelationName="FK_Stock_Supplier" msprop:Generator_RelationVarName="relationFK_Stock_Supplier" msprop:Generator_UserParentTable="Supplier" msprop:Generator_ParentPropName="SupplierRow" />
2498       <msdata:Relationship name=
"FK_Stock_Product_Product" msdata:parent="Product" msdata:child="Stock_Product" msdata:parentkey="PID" msdata:childkey="ProductID" msprop:Generator_UserChildTable="Stock_Product" msprop:Generator_ChildPropName="GetStock_ProductRows" msprop:Generator_UserRelationName="FK_Stock_Product_Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_RelationVarName="relationFK_Stock_Product_Product" msprop:Generator_UserParentTable="Product" />
2499       <msdata:Relationship name=
"FK_Stock_Product_Stock" msdata:parent="Stock" msdata:child="Stock_Product" msdata:parentkey="ST_ID" msdata:childkey="StockID" msprop:Generator_UserChildTable="Stock_Product" msprop:Generator_ChildPropName="GetStock_ProductRows" msprop:Generator_UserRelationName="FK_Stock_Product_Stock" msprop:Generator_ParentPropName="StockRow" msprop:Generator_RelationVarName="relationFK_Stock_Product_Stock" msprop:Generator_UserParentTable="Stock" />
2500       <msdata:Relationship name=
"FK_SubCategory_Category" msdata:parent="Category" msdata:child="SubCategory" msdata:parentkey="CategoryName" msdata:childkey="Category" msprop:Generator_UserChildTable="SubCategory" msprop:Generator_ChildPropName="GetSubCategoryRows" msprop:Generator_UserRelationName="FK_SubCategory_Category" msprop:Generator_ParentPropName="CategoryRow" msprop:Generator_RelationVarName="relationFK_SubCategory_Category" msprop:Generator_UserParentTable="Category" />
2501       <msdata:Relationship name=
"FK_Temp_Stock_Product" msdata:parent="Product" msdata:child="Temp_Stock" msdata:parentkey="PID" msdata:childkey="ProductID" msprop:Generator_UserChildTable="Temp_Stock" msprop:Generator_ChildPropName="GetTemp_StockRows" msprop:Generator_UserRelationName="FK_Temp_Stock_Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_RelationVarName="relationFK_Temp_Stock_Product" msprop:Generator_UserParentTable="Product" />
2502     </xs:appinfo>
2503   </xs:annotation>
2504 </xs:schema>


Gõ tìm kiếm nhanh...